Loading net/bluetooth/hci_sock.c +13 −13 Original line number Diff line number Diff line Loading @@ -991,8 +991,8 @@ static void hci_sock_cmsg(struct sock *sk, struct msghdr *msg, } } static int hci_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) static int hci_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) { int noblock = flags & MSG_DONTWAIT; struct sock *sk = sock->sk; Loading Loading @@ -1211,7 +1211,7 @@ static int hci_sock_sendmsg(struct socket *sock, struct msghdr *msg, goto drop; } hci_skb_pkt_type(skb) = *((unsigned char *) skb->data); hci_skb_pkt_type(skb) = skb->data[0]; skb_pull(skb, 1); if (hci_pi(sk)->channel == HCI_CHANNEL_USER) { Loading Loading
net/bluetooth/hci_sock.c +13 −13 Original line number Diff line number Diff line Loading @@ -991,8 +991,8 @@ static void hci_sock_cmsg(struct sock *sk, struct msghdr *msg, } } static int hci_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) static int hci_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) { int noblock = flags & MSG_DONTWAIT; struct sock *sk = sock->sk; Loading Loading @@ -1211,7 +1211,7 @@ static int hci_sock_sendmsg(struct socket *sock, struct msghdr *msg, goto drop; } hci_skb_pkt_type(skb) = *((unsigned char *) skb->data); hci_skb_pkt_type(skb) = skb->data[0]; skb_pull(skb, 1); if (hci_pi(sk)->channel == HCI_CHANNEL_USER) { Loading