mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-11 00:10:33 +01:00
wwan: allow using the default subscription APN (bgo #729665)
If no APN is specified, passing "" to ModemManager indicates that the connection should use the default subscription APN, which the modem and the network determine themselves. This doesn't work with all modems and operators, but in that case the user can specify the APN.
This commit is contained in:
parent
155cd790f3
commit
d307a8b061
1 changed files with 2 additions and 2 deletions
|
|
@ -280,9 +280,9 @@ create_gsm_connect_properties (NMModem *modem,
|
|||
if (str)
|
||||
mm_simple_connect_properties_set_number (properties, str);
|
||||
|
||||
/* Blank APN ("") means the default subscription APN */
|
||||
str = nm_setting_gsm_get_apn (setting);
|
||||
if (str)
|
||||
mm_simple_connect_properties_set_apn (properties, str);
|
||||
mm_simple_connect_properties_set_apn (properties, str ? str : "");
|
||||
|
||||
str = nm_setting_gsm_get_network_id (setting);
|
||||
if (str)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue