projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc1d280
)
mwifiex: invalidate bss config before setting channel for uAP
author
Avinash Patil
<patila@marvell.com>
Thu, 17 May 2012 04:24:54 +0000
(21:24 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 5 Jun 2012 21:15:45 +0000
(17:15 -0400)
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>
drivers/net/wireless/mwifiex/uap_cmd.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mwifiex/uap_cmd.c
b/drivers/net/wireless/mwifiex/uap_cmd.c
index 76dfbc42a732fc92530fc68a7b8573ea0f54d437..e9482c97e7794cd7e0c084f011c4ebdbcedb3390 100644
(file)
--- 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;