diff options
author | Avinash Patil <patila@marvell.com> | 2015-06-22 15:36:18 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-07-21 15:40:31 +0200 |
commit | 5c8946330abfa4c0476b94070d8833cfbbca5b28 (patch) | |
tree | 8da1fd90938f22506da4a93bef7410b837dc9b40 /drivers/net/wireless/mwifiex/init.c | |
parent | mwifiex: support for bypass tx queue (diff) | |
download | linux-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/init.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/init.c b/drivers/net/wireless/mwifiex/init.c index e1b62bf0f7b4..8fa363add970 100644 --- a/drivers/net/wireless/mwifiex/init.c +++ b/drivers/net/wireless/mwifiex/init.c @@ -77,7 +77,7 @@ int mwifiex_init_priv(struct mwifiex_private *priv) priv->media_connected = false; eth_broadcast_addr(priv->curr_addr); - + priv->port_open = false; priv->pkt_tx_ctrl = 0; priv->bss_mode = NL80211_IFTYPE_UNSPECIFIED; priv->data_rate = 0; /* Initially indicate the rate as auto */ |