aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2014-03-25 22:01:20 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-03-27 14:20:06 -0400
commitc0dbba6688b0acd582b7d6d59574fdf50f950981 (patch)
treec58f3e399f7fbc522acbb5aba7aae40a6caa79fe /drivers/net/wireless/mwifiex/main.h
parentb49f639f841cf19cc7a8737c836210d4fa0baa76 (diff)
mwifiex: cancel pending commands during host sleep
Sometimes we may end up downloading other commands when host sleep is configured. This patch makes sure that pending commands are cancelled and we stop queueing further commands during host sleep. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r--drivers/net/wireless/mwifiex/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h
index a67f7da12b30..d53e1e8c9467 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -774,6 +774,7 @@ struct mwifiex_adapter {
774 u16 hs_activate_wait_q_woken; 774 u16 hs_activate_wait_q_woken;
775 wait_queue_head_t hs_activate_wait_q; 775 wait_queue_head_t hs_activate_wait_q;
776 bool is_suspended; 776 bool is_suspended;
777 bool hs_enabling;
777 u8 event_body[MAX_EVENT_SIZE]; 778 u8 event_body[MAX_EVENT_SIZE];
778 u32 hw_dot_11n_dev_cap; 779 u32 hw_dot_11n_dev_cap;
779 u8 hw_dev_mcs_support; 780 u8 hw_dev_mcs_support;