aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-05-21 22:10:50 +0200
committerMarcel Holtmann <marcel@holtmann.org>2022-05-23 17:21:59 +0200
commitedcb185fa9c4f8fa1301f032fb503d2597a92b1e (patch)
treefa0f1f15edf6970c9cc27f5c9f2e4920bbae3d1f
parent8f9ae5b3ae80f168a6224529e3787f4fb27f299a (diff)
downloadnf-edcb185fa9c4f8fa1301f032fb503d2597a92b1e.tar.gz
Bluetooth: hci_sync: use hci_skb_event() helper
This instance is the only opencoded version of the macro, so have it follow suit. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r--net/bluetooth/hci_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_request.c b/net/bluetooth/hci_request.c
index f4afe482e3004..635cc5fb451ec 100644
--- a/net/bluetooth/hci_request.c
+++ b/net/bluetooth/hci_request.c
@@ -261,7 +261,7 @@ void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen,
if (skb_queue_empty(&req->cmd_q))
bt_cb(skb)->hci.req_flags |= HCI_REQ_START;
- bt_cb(skb)->hci.req_event = event;
+ hci_skb_event(skb) = event;
skb_queue_tail(&req->cmd_q, skb);
}