aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/mgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/mgmt.c')
-rw-r--r--net/bluetooth/mgmt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index c959915d308e..3c4499041aeb 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -4681,8 +4681,8 @@ int mgmt_user_passkey_notify(struct hci_dev *hdev, bdaddr_t *bdaddr,
4681 return mgmt_event(MGMT_EV_PASSKEY_NOTIFY, hdev, &ev, sizeof(ev), NULL); 4681 return mgmt_event(MGMT_EV_PASSKEY_NOTIFY, hdev, &ev, sizeof(ev), NULL);
4682} 4682}
4683 4683
4684int mgmt_auth_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, 4684void mgmt_auth_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type,
4685 u8 addr_type, u8 status) 4685 u8 addr_type, u8 status)
4686{ 4686{
4687 struct mgmt_ev_auth_failed ev; 4687 struct mgmt_ev_auth_failed ev;
4688 4688
@@ -4690,7 +4690,7 @@ int mgmt_auth_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type,
4690 ev.addr.type = link_to_bdaddr(link_type, addr_type); 4690 ev.addr.type = link_to_bdaddr(link_type, addr_type);
4691 ev.status = mgmt_status(status); 4691 ev.status = mgmt_status(status);
4692 4692
4693 return mgmt_event(MGMT_EV_AUTH_FAILED, hdev, &ev, sizeof(ev), NULL); 4693 mgmt_event(MGMT_EV_AUTH_FAILED, hdev, &ev, sizeof(ev), NULL);
4694} 4694}
4695 4695
4696int mgmt_auth_enable_complete(struct hci_dev *hdev, u8 status) 4696int mgmt_auth_enable_complete(struct hci_dev *hdev, u8 status)