summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-08-17 12:51:52 +0200
committerLubomir Rintel <lkundrak@v3.sk>2017-08-23 16:08:42 +0200
commit0718b2550832aee2543f7102c3c6adc2cdbeef8d (patch)
tree0df8f22f8afb5664d5ed262386fa7a7aa663d78b
parent5df2c96be0e276225d47f7411870c9e341aa6b9f (diff)
clients: allow GSM and CDMA for Bluetooth connections
Unbreaks Bluetooth DUN. Probably broken with the nm-meta-setting-desc refactor, hence the Fixes tag. I didn't actually check. $ nmcli c add type bluetooth ifname '*' bluetooth.bdaddr 1C:E2:CC:56:6C:45 connection.id bt bt-type dun-gsm Error: 'apn' argument is required. $ nmcli c add type bluetooth ifname '*' bluetooth.bdaddr 1C:E2:CC:56:6C:45 connection.id bt bt-type dun-gsm apn internet Error: invalid <setting>.<property> 'apn'. $ This is where it starts to get sad ^ $ nmcli c add type bluetooth ifname '*' bluetooth.bdaddr 1C:E2:CC:56:6C:45 connection.id bt bt-type dun-gsm gsm.apn internet Error: invalid or not allowed setting 'gsm': 'gsm' not among [connection, bluetooth, bridge, ipv4, ipv6, proxy]. $ This is where it gets obvious what went wrong ^ Fixes: b5c8622ad3e8eb34143e5023cdf784da741f338c
-rw-r--r--clients/common/nm-meta-setting-desc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clients/common/nm-meta-setting-desc.c b/clients/common/nm-meta-setting-desc.c
index 9d68b23334..f577ebdc3b 100644
--- a/clients/common/nm-meta-setting-desc.c
+++ b/clients/common/nm-meta-setting-desc.c
@@ -6805,6 +6805,8 @@ const NMMetaSettingInfoEditor nm_meta_setting_infos_editor[] = {
NM_META_SETTING_VALID_PART_ITEM (CONNECTION, TRUE),
NM_META_SETTING_VALID_PART_ITEM (BLUETOOTH, TRUE),
NM_META_SETTING_VALID_PART_ITEM (BRIDGE, FALSE),
+ NM_META_SETTING_VALID_PART_ITEM (GSM, FALSE),
+ NM_META_SETTING_VALID_PART_ITEM (CDMA, FALSE),
),
.setting_init_fcn = _setting_init_fcn_bluetooth,
),