Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352349
b: refs/heads/master
c: a3d0935
h: refs/heads/master
i:
  352347: d009044
v: v3
  • Loading branch information
Andre Guedes authored and Gustavo Padovan committed Feb 1, 2013
1 parent c34dae0 commit 581dec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 2b8a9a2e6a2143928819f2fb948d3904746e1582
refs/heads/master: a3d09356491d637548dbe815ddb966f52ec9e53a
8 changes: 2 additions & 6 deletions trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -760,13 +760,9 @@ static void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev,
void *data),
void *data)
{
struct list_head *p, *n;

list_for_each_safe(p, n, &hdev->mgmt_pending) {
struct pending_cmd *cmd;

cmd = list_entry(p, struct pending_cmd, list);
struct pending_cmd *cmd, *tmp;

list_for_each_entry_safe(cmd, tmp, &hdev->mgmt_pending, list) {
if (opcode > 0 && cmd->opcode != opcode)
continue;

Expand Down

0 comments on commit 581dec0

Please sign in to comment.