diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-11-12 23:43:47 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-11-23 17:33:19 +0100 |
commit | ec0f5b0b29e1776ae0ec4004a39278df8d4db356 (patch) | |
tree | d1964de8db2c53919a55a1288f6a780c8a333a3d /panels | |
parent | 0c8f4451b7a786ccb430360e66ff2337c930b246 (diff) | |
download | gnome-control-center-ec0f5b0b29e1776ae0ec4004a39278df8d4db356.tar.gz |
network: load IMEI and Operator Name also in LTE-only modems
Also bump NetworkManager required version to 0.8.995, which is when
'NM_DEVICE_MODEM_CAPABILITY_LTE' was introduced.
https://bugzilla.gnome.org/show_bug.cgi?id=688212
Diffstat (limited to 'panels')
-rw-r--r-- | panels/network/net-device-mobile.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/panels/network/net-device-mobile.c b/panels/network/net-device-mobile.c index 4fba134e1..d24de4eb3 100644 --- a/panels/network/net-device-mobile.c +++ b/panels/network/net-device-mobile.c @@ -292,7 +292,8 @@ nm_device_mobile_refresh_ui (NetDeviceMobile *device_mobile) caps = nm_device_modem_get_current_capabilities (NM_DEVICE_MODEM (nm_device)); if ((caps & NM_DEVICE_MODEM_CAPABILITY_GSM_UMTS) || - (caps & NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO)) { + (caps & NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO) || + (caps & NM_DEVICE_MODEM_CAPABILITY_LTE)) { device_mobile_refresh_operator_name (device_mobile); device_mobile_refresh_equipment_id (device_mobile); } @@ -531,7 +532,8 @@ net_device_mobile_constructed (GObject *object) /* Only load proxies if we have broadband modems */ caps = nm_device_modem_get_current_capabilities (NM_DEVICE_MODEM (device)); if ((caps & NM_DEVICE_MODEM_CAPABILITY_GSM_UMTS) || - (caps & NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO)) { + (caps & NM_DEVICE_MODEM_CAPABILITY_CDMA_EVDO) || + (caps & NM_DEVICE_MODEM_CAPABILITY_LTE)) { g_dbus_proxy_new_for_bus (G_BUS_TYPE_SYSTEM, G_DBUS_PROXY_FLAGS_NONE, NULL, |