Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291037
b: refs/heads/master
c: db99b5f
h: refs/heads/master
i:
  291035: aa48230
v: v3
  • Loading branch information
Johan Hedberg committed Feb 23, 2012
1 parent f2df57a commit 5516130
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 490c5baba7a5ad80782d5eb778638d1cfc8d70ce
refs/heads/master: db99b5fc77e6cec47d80703b471f1efe04527d2f
3 changes: 2 additions & 1 deletion trunk/net/bluetooth/hci_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ static void hci_cc_read_local_name(struct hci_dev *hdev, struct sk_buff *skb)
if (rp->status)
return;

memcpy(hdev->dev_name, rp->name, HCI_MAX_NAME_LENGTH);
if (test_bit(HCI_SETUP, &hdev->dev_flags))
memcpy(hdev->dev_name, rp->name, HCI_MAX_NAME_LENGTH);
}

static void hci_cc_write_auth_enable(struct hci_dev *hdev, struct sk_buff *skb)
Expand Down

0 comments on commit 5516130

Please sign in to comment.