From: Ahmad Fatoum Date: Sat, 21 May 2022 20:10:50 +0000 (+0200) Subject: Bluetooth: hci_sync: use hci_skb_event() helper X-Git-Tag: for-5.19/block-exec-2022-06-02~49^2~6^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=edcb185fa9c4;p=linux-block.git 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 Signed-off-by: Marcel Holtmann --- diff --git a/net/bluetooth/hci_request.c b/net/bluetooth/hci_request.c index f4afe482e300..635cc5fb451e 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); }