Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44483
b: refs/heads/master
c: 905f3ed
h: refs/heads/master
i:
  44481: f4de777
  44479: a5d0dbd
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Dec 13, 2006
1 parent cdccb3f commit b67ef55
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db71b7f19c3ddc8897437e655130f9010f9a9b72
refs/heads/master: 905f3ed62515f233fea09dc5ad68bbcff4903520
4 changes: 2 additions & 2 deletions trunk/include/net/bluetooth/hci.h
Original file line number Diff line number Diff line change
Expand Up @@ -739,13 +739,13 @@ struct sockaddr_hci {
struct hci_filter {
unsigned long type_mask;
unsigned long event_mask[2];
__u16 opcode;
__le16 opcode;
};

struct hci_ufilter {
__u32 type_mask;
__u32 event_mask[2];
__u16 opcode;
__le16 opcode;
};

#define HCI_FLT_TYPE_BITS 31
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/bluetooth/hci_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb)
if (flt->opcode &&
((evt == HCI_EV_CMD_COMPLETE &&
flt->opcode !=
get_unaligned((__u16 *)(skb->data + 3))) ||
get_unaligned((__le16 *)(skb->data + 3))) ||
(evt == HCI_EV_CMD_STATUS &&
flt->opcode !=
get_unaligned((__u16 *)(skb->data + 4)))))
get_unaligned((__le16 *)(skb->data + 4)))))
continue;
}

Expand Down

0 comments on commit b67ef55

Please sign in to comment.