netreg: Add quirk for ZTE modem without CIND support

This commit is contained in:
Marcel Holtmann 2010-08-16 15:14:17 +02:00
parent 78a304de71
commit 83a04505bf
2 changed files with 4 additions and 0 deletions

View File

@ -1018,6 +1018,9 @@ static void at_creg_set_cb(gboolean ok, GAtResult *result, gpointer user_data)
g_at_chat_register(nd->chat, "^RSSI:", huawei_rssi_notify,
FALSE, netreg, NULL);
break;
case OFONO_VENDOR_ZTE:
/* Signal strength reporting via CIND is not supported */
break;
default:
g_at_chat_send(nd->chat, "AT+CIND=?", cind_prefix,
cind_support_cb, netreg, NULL);

View File

@ -26,6 +26,7 @@ enum ofono_vendor {
OFONO_VENDOR_MBM,
OFONO_VENDOR_QUALCOMM_MSM,
OFONO_VENDOR_OPTION_HSO,
OFONO_VENDOR_ZTE,
OFONO_VENDOR_HUAWEI,
OFONO_VENDOR_NOVATEL,
OFONO_VENDOR_WAVECOM,