summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/init.c
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2013-06-19 01:36:58 +0200
committerJohn W. Linville <linville@tuxdriver.com>2013-06-19 21:28:43 +0200
commitb887664d882ee4f6a67e0bf05e5f141d32fcc067 (patch)
tree743c252756bcdfc8d129a594ee52a99085d42477 /drivers/net/wireless/mwifiex/init.c
parentmwifiex: add basic 11h support for station (diff)
downloadlinux-b887664d882ee4f6a67e0bf05e5f141d32fcc067.tar.xz
linux-b887664d882ee4f6a67e0bf05e5f141d32fcc067.zip
mwifiex: channel switch handling for station
After receiving channel switch announcement from AP, scan and association on that channel is blocked for DFS_CHAN_MOVE_TIME (10 seconds). Hence station will be able to connect to the AP, once it is moved to new channel. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: Paul Stewart <pstew@chromium.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/init.c')
-rw-r--r--drivers/net/wireless/mwifiex/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/init.c b/drivers/net/wireless/mwifiex/init.c
index 2fe31dcaa6ef..caaf4bd56b30 100644
--- a/drivers/net/wireless/mwifiex/init.c
+++ b/drivers/net/wireless/mwifiex/init.c
@@ -133,6 +133,9 @@ int mwifiex_init_priv(struct mwifiex_private *priv)
priv->scan_block = false;
+ priv->csa_chan = 0;
+ priv->csa_expire_time = 0;
+
return mwifiex_add_bss_prio_tbl(priv);
}