Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352247
b: refs/heads/master
c: fe03888
h: refs/heads/master
i:
  352245: 4245d57
  352243: a6bf211
  352239: 3a68e96
v: v3
  • Loading branch information
Johan Hedberg authored and Gustavo Padovan committed Jan 23, 2013
1 parent 2557503 commit f582945
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 46818ed514102c8d251d4aff5c99ad3ff6805432
refs/heads/master: fe038884a83b85f2bb61c77609eacb5cf613d3fb
6 changes: 6 additions & 0 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -2987,7 +2987,13 @@ int mgmt_powered(struct hci_dev *hdev, u8 powered)
}
} else {
u8 status = MGMT_STATUS_NOT_POWERED;
u8 zero_cod[] = { 0, 0, 0 };

mgmt_pending_foreach(0, hdev, cmd_status_rsp, &status);

if (memcmp(hdev->dev_class, zero_cod, sizeof(zero_cod)) != 0)
mgmt_event(MGMT_EV_CLASS_OF_DEV_CHANGED, hdev,
zero_cod, sizeof(zero_cod), NULL);
}

err = new_settings(hdev, match.sk);
Expand Down

0 comments on commit f582945

Please sign in to comment.