git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
networking: add and use skb_put_u8()
[sfrench/cifs-2.6.git]
/
drivers
/
bluetooth
/
hci_qca.c
diff --git
a/drivers/bluetooth/hci_qca.c
b/drivers/bluetooth/hci_qca.c
index e2c88515340aa9946f80321d5201773a3c656a64..392f412b4575162bc2897ba12b30e1d5b62dc60b 100644
(file)
--- a/
drivers/bluetooth/hci_qca.c
+++ b/
drivers/bluetooth/hci_qca.c
@@
-215,7
+215,7
@@
static int send_hci_ibs_cmd(u8 cmd, struct hci_uart *hu)
}
/* Assign HCI_IBS type */
-
*(u8 *)skb_put(skb, 1) = cmd
;
+
skb_put_u8(skb, cmd)
;
skb_queue_tail(&qca->txq, skb);