summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2016-06-23 11:11:39 -0500
committerThomas Haller <thaller@redhat.com>2016-06-28 17:34:42 +0200
commit938b27a8d2d16818e9da6b82828d05be8782fbc1 (patch)
tree16551881a9ac7ab7813a5e9f94ea8168b27f759e
parentb898b0882be0baef7d112d12f09132f087a8a483 (diff)
downloadNetworkManager-938b27a8d2d16818e9da6b82828d05be8782fbc1.tar.gz
wwan/ofono: simplify capabilities function and add FIXME about LTE
-rw-r--r--src/devices/wwan/nm-modem-ofono.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/devices/wwan/nm-modem-ofono.c b/src/devices/wwan/nm-modem-ofono.c
index 0f6fdf252c..ecbd95d5a4 100644
--- a/src/devices/wwan/nm-modem-ofono.c
+++ b/src/devices/wwan/nm-modem-ofono.c
@@ -85,10 +85,9 @@ get_capabilities (NMModem *_self,
NMDeviceModemCapabilities *modem_caps,
NMDeviceModemCapabilities *current_caps)
{
- NMDeviceModemCapabilities all_ofono_caps = NM_DEVICE_MODEM_CAPABILITY_GSM_UMTS;
-
- *modem_caps = all_ofono_caps;
- *current_caps = all_ofono_caps;
+ /* FIXME: auto-detect capabilities to allow LTE */
+ *modem_caps = NM_DEVICE_MODEM_CAPABILITY_GSM_UMTS;
+ *current_caps = NM_DEVICE_MODEM_CAPABILITY_GSM_UMTS;
}
static void