summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btqcomsmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bluetooth/btqcomsmd.c')
-rw-r--r--drivers/bluetooth/btqcomsmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/btqcomsmd.c b/drivers/bluetooth/btqcomsmd.c
index ef730c173d4b..d00c4fdae924 100644
--- a/drivers/bluetooth/btqcomsmd.c
+++ b/drivers/bluetooth/btqcomsmd.c
@@ -43,7 +43,7 @@ static int btqcomsmd_recv(struct hci_dev *hdev, unsigned int type,
}
hci_skb_pkt_type(skb) = type;
- memcpy(skb_put(skb, count), data, count);
+ skb_put_data(skb, data, count);
return hci_recv_frame(hdev, skb);
}