diff options
-rw-r--r-- | net/bluetooth/mgmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c index b74a157bde09..51d0446bc4ed 100644 --- a/net/bluetooth/mgmt.c +++ b/net/bluetooth/mgmt.c | |||
@@ -1483,8 +1483,8 @@ static int set_connectable(struct sock *sk, struct hci_dev *hdev, void *data, | |||
1483 | if (err < 0) { | 1483 | if (err < 0) { |
1484 | mgmt_pending_remove(cmd); | 1484 | mgmt_pending_remove(cmd); |
1485 | if (err == -ENODATA) | 1485 | if (err == -ENODATA) |
1486 | err = send_settings_rsp(sk, MGMT_OP_SET_CONNECTABLE, | 1486 | err = set_connectable_update_settings(hdev, sk, |
1487 | hdev); | 1487 | cp->val); |
1488 | goto failed; | 1488 | goto failed; |
1489 | } | 1489 | } |
1490 | 1490 | ||