diff options
author | Avinash Patil <patila@marvell.com> | 2012-05-30 00:39:04 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-04 21:21:21 +0200 |
commit | f0e3bd23418e1ec1aeac5fc36b74bf2f645b1244 (patch) | |
tree | e552d9fbf53579878b16261f8811f2ab2dcc2d0d | |
parent | mac80211: run scan after finish connection monitoring (diff) | |
download | linux-f0e3bd23418e1ec1aeac5fc36b74bf2f645b1244.tar.xz linux-f0e3bd23418e1ec1aeac5fc36b74bf2f645b1244.zip |
mwifiex: invalidate bss config before setting channel for uAP
Mark bss_config parameters as invalid before setting AP channel.
This prevents from setting invalid parameters while setting AP
channel to FW.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/mwifiex/uap_cmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/uap_cmd.c b/drivers/net/wireless/mwifiex/uap_cmd.c index 76dfbc42a732..e9482c97e779 100644 --- a/drivers/net/wireless/mwifiex/uap_cmd.c +++ b/drivers/net/wireless/mwifiex/uap_cmd.c @@ -416,6 +416,7 @@ int mwifiex_uap_set_channel(struct mwifiex_private *priv, int channel) if (!bss_cfg) return -ENOMEM; + mwifiex_set_sys_config_invalid_data(bss_cfg); bss_cfg->band_cfg = BAND_CONFIG_MANUAL; bss_cfg->channel = channel; |