From: Marcel Holtmann Date: Mon, 16 Aug 2010 13:14:17 +0000 (+0200) Subject: netreg: Add quirk for ZTE modem without CIND support X-Git-Tag: 0.27~206 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83a04505bf86248e526261d1041cfc6457626ccf;p=platform%2Fupstream%2Fofono.git netreg: Add quirk for ZTE modem without CIND support --- diff --git a/drivers/atmodem/network-registration.c b/drivers/atmodem/network-registration.c index 04cd226..66cf29c 100644 --- a/drivers/atmodem/network-registration.c +++ b/drivers/atmodem/network-registration.c @@ -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); diff --git a/drivers/atmodem/vendor.h b/drivers/atmodem/vendor.h index 6c2ca05..b64171a 100644 --- a/drivers/atmodem/vendor.h +++ b/drivers/atmodem/vendor.h @@ -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,