huawei: handle unsolicited unregistered mode change
This commit is contained in:
@@ -429,7 +429,9 @@ handle_mode_change (MMAtSerialPort *port,
|
|||||||
act = MM_MODEM_GSM_ACCESS_TECH_HSUPA;
|
act = MM_MODEM_GSM_ACCESS_TECH_HSUPA;
|
||||||
else if (b == 7)
|
else if (b == 7)
|
||||||
act = MM_MODEM_GSM_ACCESS_TECH_HSPA;
|
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);
|
g_warning ("Couldn't parse mode change value: '%s'", str);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user