diff options
-rw-r--r-- | net/bluetooth/mgmt.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index f57ec19547af..aa59490044aa 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c | |||
@@ -363,9 +363,6 @@ static u32 get_supported_settings(struct hci_dev *hdev) | |||
363 | settings |= MGMT_SETTING_POWERED; | 363 | settings |= MGMT_SETTING_POWERED; |
364 | settings |= MGMT_SETTING_PAIRABLE; | 364 | settings |= MGMT_SETTING_PAIRABLE; |
365 | 365 | ||
366 | if (lmp_ssp_capable(hdev)) | ||
367 | settings |= MGMT_SETTING_SSP; | ||
368 | |||
369 | if (lmp_bredr_capable(hdev)) { | 366 | if (lmp_bredr_capable(hdev)) { |
370 | settings |= MGMT_SETTING_CONNECTABLE; | 367 | settings |= MGMT_SETTING_CONNECTABLE; |
371 | if (hdev->hci_ver >= BLUETOOTH_VER_1_2) | 368 | if (hdev->hci_ver >= BLUETOOTH_VER_1_2) |
@@ -373,7 +370,11 @@ static u32 get_supported_settings(struct hci_dev *hdev) | |||
373 | settings |= MGMT_SETTING_DISCOVERABLE; | 370 | settings |= MGMT_SETTING_DISCOVERABLE; |
374 | settings |= MGMT_SETTING_BREDR; | 371 | settings |= MGMT_SETTING_BREDR; |
375 | settings |= MGMT_SETTING_LINK_SECURITY; | 372 | settings |= MGMT_SETTING_LINK_SECURITY; |
376 | settings |= MGMT_SETTING_HS; | 373 | |
374 | if (lmp_ssp_capable(hdev)) { | ||
375 | settings |= MGMT_SETTING_SSP; | ||
376 | settings |= MGMT_SETTING_HS; | ||
377 | } | ||
377 | } | 378 | } |
378 | 379 | ||
379 | if (lmp_le_capable(hdev)) { | 380 | if (lmp_le_capable(hdev)) { |