Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103663
b: refs/heads/master
c: c7bdd50
h: refs/heads/master
i:
  103661: c97c175
  103659: 942fa09
  103655: 39ce64d
  103647: bde3050
v: v3
  • Loading branch information
Marcel Holtmann committed Jul 14, 2008
1 parent bf171ce commit ab0bb8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f383f2750af19fe6f820edf40d8729f9741c5b37
refs/heads/master: c7bdd5026d28d178238bd794c61612602a54d55e
4 changes: 4 additions & 0 deletions trunk/net/bluetooth/hci_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -796,10 +796,14 @@ static inline void hci_conn_request_evt(struct hci_dev *hdev, struct sk_buff *sk

if (mask & HCI_LM_ACCEPT) {
/* Connection accepted */
struct inquiry_entry *ie;
struct hci_conn *conn;

hci_dev_lock(hdev);

if ((ie = hci_inquiry_cache_lookup(hdev, &ev->bdaddr)))
memcpy(ie->data.dev_class, ev->dev_class, 3);

conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, &ev->bdaddr);
if (!conn) {
if (!(conn = hci_conn_add(hdev, ev->link_type, &ev->bdaddr))) {
Expand Down

0 comments on commit ab0bb8a

Please sign in to comment.