summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/hci_nokia.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bluetooth/hci_nokia.c')
-rw-r--r--drivers/bluetooth/hci_nokia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_nokia.c b/drivers/bluetooth/hci_nokia.c
index 072a77a61e67..181a15b549e5 100644
--- a/drivers/bluetooth/hci_nokia.c
+++ b/drivers/bluetooth/hci_nokia.c
@@ -532,7 +532,7 @@ static int nokia_enqueue(struct hci_uart *hu, struct sk_buff *skb)
err = skb_pad(skb, 1);
if (err)
return err;
- *(u8 *)skb_put(skb, 1) = 0x00;
+ skb_put_u8(skb, 0x00);
}
skb_queue_tail(&btdev->txq, skb);