Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369017
b: refs/heads/master
c: ad82cdd
h: refs/heads/master
i:
  369015: 8a5ad57
v: v3
  • Loading branch information
Johan Hedberg authored and Gustavo Padovan committed Mar 9, 2013
1 parent 6c2f5eb commit 88321e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 34739c1effcbdc6d210324e86514fa2d2d47b12b
refs/heads/master: ad82cdd196cc3e31c412a091e8dd59bef0331eaa
8 changes: 4 additions & 4 deletions trunk/net/bluetooth/hci_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -2299,10 +2299,10 @@ static void hci_cmd_complete_evt(struct hci_dev *hdev, struct sk_buff *skb)
break;
}

if (ev->opcode != HCI_OP_NOP)
if (opcode != HCI_OP_NOP)
del_timer(&hdev->cmd_timer);

hci_req_cmd_complete(hdev, ev->opcode, status);
hci_req_cmd_complete(hdev, opcode, status);

if (ev->ncmd && !test_bit(HCI_RESET, &hdev->flags)) {
atomic_set(&hdev->cmd_cnt, 1);
Expand Down Expand Up @@ -2386,10 +2386,10 @@ static void hci_cmd_status_evt(struct hci_dev *hdev, struct sk_buff *skb)
break;
}

if (ev->opcode != HCI_OP_NOP)
if (opcode != HCI_OP_NOP)
del_timer(&hdev->cmd_timer);

hci_req_cmd_status(hdev, ev->opcode, ev->status);
hci_req_cmd_status(hdev, opcode, ev->status);

if (ev->ncmd && !test_bit(HCI_RESET, &hdev->flags)) {
atomic_set(&hdev->cmd_cnt, 1);
Expand Down

0 comments on commit 88321e7

Please sign in to comment.