Loading net/bluetooth/hci_sock.c +7 −4 Original line number Diff line number Diff line Loading @@ -120,10 +120,13 @@ void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb) if (!hci_test_bit(evt, &flt->event_mask)) continue; if (flt->opcode && ((evt == HCI_EV_CMD_COMPLETE && flt->opcode != *(__u16 *)(skb->data + 3)) || if (flt->opcode && ((evt == HCI_EV_CMD_COMPLETE && flt->opcode != get_unaligned((__u16 *)(skb->data + 3))) || (evt == HCI_EV_CMD_STATUS && flt->opcode != *(__u16 *)(skb->data + 4)))) flt->opcode != get_unaligned((__u16 *)(skb->data + 4))))) continue; } Loading Loading
net/bluetooth/hci_sock.c +7 −4 Original line number Diff line number Diff line Loading @@ -120,10 +120,13 @@ void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb) if (!hci_test_bit(evt, &flt->event_mask)) continue; if (flt->opcode && ((evt == HCI_EV_CMD_COMPLETE && flt->opcode != *(__u16 *)(skb->data + 3)) || if (flt->opcode && ((evt == HCI_EV_CMD_COMPLETE && flt->opcode != get_unaligned((__u16 *)(skb->data + 3))) || (evt == HCI_EV_CMD_STATUS && flt->opcode != *(__u16 *)(skb->data + 4)))) flt->opcode != get_unaligned((__u16 *)(skb->data + 4))))) continue; } Loading