Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291039
b: refs/heads/master
c: 7bdaae4
h: refs/heads/master
i:
  291037: 5516130
  291035: aa48230
  291031: 629dbdd
  291023: 85177c9
  291007: b070bd7
v: v3
  • Loading branch information
Johan Hedberg committed Feb 23, 2012
1 parent b4f36ae commit 07968f4
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: 28cc7bde5978cbc58c9026123fa5f33b62ad66b3
refs/heads/master: 7bdaae4a4bc075cf73ab9c3a531b7229caa1f49e
4 changes: 4 additions & 0 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -3586,6 +3586,10 @@ int mgmt_set_local_name_complete(struct hci_dev *hdev, u8 *name, u8 status)
if (!cmd)
goto send_event;

/* Always assume that either the short or the complete name has
* changed if there was a pending mgmt command */
changed = true;

if (status) {
err = cmd_status(cmd->sk, hdev->id, MGMT_OP_SET_LOCAL_NAME,
mgmt_status(status));
Expand Down

0 comments on commit 07968f4

Please sign in to comment.