diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2013-01-31 22:17:10 +0100 | 
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2013-01-31 22:17:10 +0100 | 
| commit | a9037430c6c784165a940a90bcd29f886834c8e7 (patch) | |
| tree | 4b186e0a761e93a6c6712053d444b566c0d25338 /net/bluetooth/hci_event.c | |
| parent | 6125bc8b86d9da75ddac77e38f41afbf9f5de3e3 (diff) | |
| parent | 12ad10004645d38356b14d1fbba379c523a61916 (diff) | |
| download | olio-linux-3.10-a9037430c6c784165a940a90bcd29f886834c8e7.tar.xz olio-linux-3.10-a9037430c6c784165a940a90bcd29f886834c8e7.zip  | |
Merge branch 'timers/for-arm' into timers/core
Diffstat (limited to 'net/bluetooth/hci_event.c')
| -rw-r--r-- | net/bluetooth/hci_event.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 705078a0cc3..81b44481d0d 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c @@ -2688,7 +2688,7 @@ static void hci_cmd_complete_evt(struct hci_dev *hdev, struct sk_buff *skb)  	if (ev->opcode != HCI_OP_NOP)  		del_timer(&hdev->cmd_timer); -	if (ev->ncmd) { +	if (ev->ncmd && !test_bit(HCI_RESET, &hdev->flags)) {  		atomic_set(&hdev->cmd_cnt, 1);  		if (!skb_queue_empty(&hdev->cmd_q))  			queue_work(hdev->workqueue, &hdev->cmd_work);  |