bluetooth: fix confusion about NAP and PAN

NMSettingBluetooth represents the local connection, and thus should
use "PANU" not NAP, because the local adapter will be in PANU mode.
For now, NAP is only relevant when talking about the *remote* device
in NMDeviceBt or NMBluezDevice.
This commit is contained in:
Dan Williams
2009-05-14 13:00:22 -04:00
parent eddc6f67bb
commit 3af7068a87
3 changed files with 7 additions and 7 deletions

View File

@@ -110,7 +110,7 @@ get_connection_bt_type (NMConnection *connection)
if (!strcmp (bt_type, NM_SETTING_BLUETOOTH_TYPE_DUN))
return NM_BT_CAPABILITY_DUN;
else if (!strcmp (bt_type, NM_SETTING_BLUETOOTH_TYPE_NAP))
else if (!strcmp (bt_type, NM_SETTING_BLUETOOTH_TYPE_PANU))
return NM_BT_CAPABILITY_NAP;
return NM_BT_CAPABILITY_NONE;