summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/main.h
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2015-06-22 15:36:18 +0200
committerKalle Valo <kvalo@codeaurora.org>2015-07-21 15:40:31 +0200
commit5c8946330abfa4c0476b94070d8833cfbbca5b28 (patch)
tree8da1fd90938f22506da4a93bef7410b837dc9b40 /drivers/net/wireless/mwifiex/main.h
parentmwifiex: support for bypass tx queue (diff)
downloadlinux-5c8946330abfa4c0476b94070d8833cfbbca5b28.tar.xz
linux-5c8946330abfa4c0476b94070d8833cfbbca5b28.zip
mwifiex: enable traffic only when port is open
This patch adds support to enable data traffic only when port is open. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
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 c59430e906ae..6f98d7ea9338 100644
--- a/drivers/net/wireless/mwifiex/main.h
+++ b/drivers/net/wireless/mwifiex/main.h
@@ -519,6 +519,7 @@ struct mwifiex_private {
u8 frame_type;
u8 curr_addr[ETH_ALEN];
u8 media_connected;
+ u8 port_open;
u32 num_tx_timeout;
/* track consecutive timeout */
u8 tx_timeout_cnt;