huawei: handle unsolicited unregistered mode change

This commit is contained in:
Dan Williams
2010-03-16 10:29:47 -07:00
parent 70d9d60d0c
commit e0c3052b0f

View File

@@ -429,7 +429,9 @@ handle_mode_change (MMAtSerialPort *port,
act = MM_MODEM_GSM_ACCESS_TECH_HSUPA;
else if (b == 7)
act = MM_MODEM_GSM_ACCESS_TECH_HSPA;
} else {
} else if (a == 0)
act = MM_MODEM_GSM_ACCESS_TECH_UNKNOWN;
else {
g_warning ("Couldn't parse mode change value: '%s'", str);
return;
}