diff options
author | Avinash Patil <patila@marvell.com> | 2015-06-22 19:06:18 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-07-21 16:40:31 +0300 |
commit | 5c8946330abfa4c0476b94070d8833cfbbca5b28 (patch) | |
tree | 8da1fd90938f22506da4a93bef7410b837dc9b40 /drivers/net/wireless/mwifiex/join.c | |
parent | a1777327126e184518e17e3c571540be72c73dce (diff) | |
download | linux-5c8946330abfa4c0476b94070d8833cfbbca5b28.tar.bz2 |
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/join.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/join.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/join.c b/drivers/net/wireless/mwifiex/join.c index 56b024a6aaa5..3cda1f956f0b 100644 --- a/drivers/net/wireless/mwifiex/join.c +++ b/drivers/net/wireless/mwifiex/join.c @@ -783,6 +783,8 @@ int mwifiex_ret_802_11_associate(struct mwifiex_private *priv, if (priv->sec_info.wpa_enabled || priv->sec_info.wpa2_enabled) priv->scan_block = true; + else + priv->port_open = true; done: /* Need to indicate IOCTL complete */ |