Regression from Revision 3456: Dialup GSM/UMTS



Hi,

since revision 3456 dialup is not working for me anymore.

When dialing in the response I get is:

CONNECT 1800000

The problem is in nm-serial-device.c find_terminators(), which does not think that the answer above is a terminator.

This patch worked for me, but might also find the terminator in the middle of the line, which might not be wanted for other reponses.

Index: src/nm-serial-device.c
===================================================================
--- src/nm-serial-device.c      (revision 3615)
+++ src/nm-serial-device.c      (working copy)
@@ -566,7 +566,7 @@
        int i;

        for (i = 0; terminators[i]; i++) {
-               if (!strcasecmp (line, terminators[i]))
+               if (strcasestr (line, terminators[i]))
                        return TRUE;
        }
        return FALSE;



BR,
Markus


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]