summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_event.c
diff options
context:
space:
mode:
authorBrian Gix <brian.gix@intel.com>2022-08-06 02:42:35 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-08-26 02:20:30 +0300
commit651cd3d65b0f76a2198fcf3a80ce5d53dd267717 (patch)
tree5d6a587a3149c84a28c5cc06688b33934bc44b55 /net/bluetooth/hci_event.c
parent3fe318ee72c54506534f51b4b4dfb19e0e0df2db (diff)
downloadlinux-651cd3d65b0f76a2198fcf3a80ce5d53dd267717.tar.xz
Bluetooth: convert hci_update_adv_data to hci_sync
hci_update_adv_data() is called from hci_event and hci_core due to events from the controller. The prior function used the deprecated hci_request method, and the new one uses hci_sync.c Signed-off-by: Brian Gix <brian.gix@intel.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r--net/bluetooth/hci_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
index 485c814cf44a..395c6479456f 100644
--- a/net/bluetooth/hci_event.c
+++ b/net/bluetooth/hci_event.c
@@ -2152,7 +2152,7 @@ static u8 hci_cc_set_ext_adv_param(struct hci_dev *hdev, void *data,
adv_instance->tx_power = rp->tx_power;
}
/* Update adv data as tx power is known now */
- hci_req_update_adv_data(hdev, cp->handle);
+ hci_update_adv_data(hdev, cp->handle);
hci_dev_unlock(hdev);