diff options
Diffstat (limited to 'net/bluetooth/hci_sock.c')
-rw-r--r-- | net/bluetooth/hci_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c index 71f5cfbbebb8..832b5f44be5c 100644 --- a/net/bluetooth/hci_sock.c +++ b/net/bluetooth/hci_sock.c | |||
@@ -375,7 +375,7 @@ static int hci_sock_recvmsg(struct kiocb *iocb, struct socket *sock, | |||
375 | copied = len; | 375 | copied = len; |
376 | } | 376 | } |
377 | 377 | ||
378 | skb->h.raw = skb->data; | 378 | skb_reset_transport_header(skb); |
379 | err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); | 379 | err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); |
380 | 380 | ||
381 | hci_sock_cmsg(sk, msg, skb); | 381 | hci_sock_cmsg(sk, msg, skb); |