diff options
author | Avinash Patil <patila@marvell.com> | 2012-05-16 21:24:54 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-05 17:15:45 -0400 |
commit | aa4bbbe44880a625ef065f0ebbbcc6adf34e03a6 (patch) | |
tree | b5f5cc13244f09a73c6b5e0ee267d8ddccdf4cd1 /drivers | |
parent | cc1d2806bf06ab92268343d26eb3d8d8f00f8bc9 (diff) | |
download | linux-aa4bbbe44880a625ef065f0ebbbcc6adf34e03a6.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-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; |