if (g_at_result_iter_next_number(&iter, &s) == FALSE)
return FALSE;
+ /* Some firmware will report bogus lac/ci when unregistered */
+ if (s != 1 && s != 5)
+ goto out;
+
switch (vendor) {
case OFONO_VENDOR_HUAWEI:
case OFONO_VENDOR_NOVATEL:
if (g_at_result_iter_next_number(&iter, &s) == FALSE)
continue;
+ /* Some firmware will report bogus lac/ci when unregistered */
+ if (s != 1 && s != 5)
+ goto out;
+
switch (vendor) {
case OFONO_VENDOR_HUAWEI:
case OFONO_VENDOR_NOVATEL: