|
@@ -2875,6 +2875,12 @@ int mgmt_powered(struct hci_dev *hdev, u8 powered)
|
|
|
if (scan)
|
|
|
hci_send_cmd(hdev, HCI_OP_WRITE_SCAN_ENABLE, 1, &scan);
|
|
|
|
|
|
+ if (test_bit(HCI_SSP_ENABLED, &hdev->dev_flags)) {
|
|
|
+ u8 ssp = 1;
|
|
|
+
|
|
|
+ hci_send_cmd(hdev, HCI_OP_WRITE_SSP_MODE, 1, &ssp);
|
|
|
+ }
|
|
|
+
|
|
|
update_class(hdev);
|
|
|
update_name(hdev, hdev->dev_name);
|
|
|
update_eir(hdev);
|