diff options
-rw-r--r-- | src/mm-generic-cdma.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mm-generic-cdma.c b/src/mm-generic-cdma.c index 64ea761a..6c6cb763 100644 --- a/src/mm-generic-cdma.c +++ b/src/mm-generic-cdma.c @@ -513,10 +513,7 @@ serving_system_done (MMSerialPort *port, if (strstr (reply, "+CSS: ")) reply += 6; - num = sscanf (reply, "%d, %c, %d", &class, &band, &sid); - if (num != 3) - num = sscanf (reply, "%d,%c,%d", &class, &band, &sid); - + num = sscanf (reply, "%d , %c , %d", &class, &band, &sid); if (num == 3) { /* Normalize */ class = CLAMP (class, 0, 4); |