projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f9ae5b
)
Bluetooth: hci_sync: use hci_skb_event() helper
author
Ahmad Fatoum
<a.fatoum@pengutronix.de>
Sat, 21 May 2022 20:10:50 +0000
(22:10 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 23 May 2022 15:21:59 +0000
(17:21 +0200)
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>
net/bluetooth/hci_request.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_request.c
b/net/bluetooth/hci_request.c
index f4afe482e3004d69246d0b462bcfe2c466500f3c..635cc5fb451ecfb10a9e3a8ed245608b9f20a259 100644
(file)
--- 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);
}