Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361819
b: refs/heads/master
c: 084c718
h: refs/heads/master
i:
  361817: 11683c3
  361815: 8114c3e
v: v3
  • Loading branch information
Bing Zhao authored and John W. Linville committed Mar 18, 2013
1 parent 64212cd commit 5f04ae9
Show file tree
Hide file tree
Showing 2 changed files with 9 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: a3e240cacc93a06bff3313e28938e980d01a2160
refs/heads/master: 084c7189acb3f969c855536166042e27f5dd703f
8 changes: 8 additions & 0 deletions trunk/drivers/net/wireless/mwifiex/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,14 @@ mwifiex_shutdown_drv(struct mwifiex_adapter *adapter)
return ret;
}

/* cancel current command */
if (adapter->curr_cmd) {
dev_warn(adapter->dev, "curr_cmd is still in processing\n");
del_timer(&adapter->cmd_timer);
mwifiex_insert_cmd_to_free_q(adapter, adapter->curr_cmd);
adapter->curr_cmd = NULL;
}

/* shut down mwifiex */
dev_dbg(adapter->dev, "info: shutdown mwifiex...\n");

Expand Down

0 comments on commit 5f04ae9

Please sign in to comment.