diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-03-18 15:30:34 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-04-03 11:50:36 +0200 |
commit | 5354fe4e7f6c65966a64ef1c6794307d93efbe31 (patch) | |
tree | 0a31db030a7e0413a4305aea7a02e3a7d01c0b4c | |
parent | 4ddc2bb7664156a1cad9d47b24a7e874713cbc52 (diff) | |
download | NetworkManager-5354fe4e7f6c65966a64ef1c6794307d93efbe31.tar.gz |
wwan/modem-broadband: no point in insisting on pre-existing GSM setting
We can just create a default one upon connection completion.
-rw-r--r-- | src/devices/wwan/nm-modem-broadband.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/devices/wwan/nm-modem-broadband.c b/src/devices/wwan/nm-modem-broadband.c index 1cb549b017..ffdc61a6b7 100644 --- a/src/devices/wwan/nm-modem-broadband.c +++ b/src/devices/wwan/nm-modem-broadband.c @@ -679,19 +679,6 @@ complete_connection (NMModem *_self, } if (MODEM_CAPS_3GPP (modem_caps)) { - NMSettingGsm *s_gsm; - - s_gsm = nm_connection_get_setting_gsm (connection); - if (!s_gsm) { - /* Need a GSM setting at least */ - g_set_error_literal (error, - NM_CONNECTION_ERROR, - NM_CONNECTION_ERROR_MISSING_SETTING, - _("GSM mobile broadband connection requires a 'gsm' setting")); - g_prefix_error (error, "%s: ", NM_SETTING_GSM_SETTING_NAME); - return FALSE; - } - nm_utils_complete_generic (NM_PLATFORM_GET, connection, NM_SETTING_GSM_SETTING_NAME, |