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:
f73cb83
)
[PATCH] ipw2200: Fix sw_reset doesn't clear the static essid problem
author
Zhu Yi
<yi.zhu@intel.com>
Tue, 24 Jan 2006 08:36:31 +0000
(16:36 +0800)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 30 Jan 2006 22:41:35 +0000
(17:41 -0500)
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2200.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ipw2200.c
b/drivers/net/wireless/ipw2200.c
index 877fdaf43ffadeaa9709da8b5b576bdd975e835e..bc18bcbf7d1fdf3c6dcd6c7c9a78ef79d260e7e1 100644
(file)
--- a/
drivers/net/wireless/ipw2200.c
+++ b/
drivers/net/wireless/ipw2200.c
@@
-8012,6
+8012,10
@@
static int ipw_sw_reset(struct ipw_priv *priv, int init)
else
IPW_DEBUG_INFO("Auto adhoc creation disabled.\n");
+ priv->config &= ~CFG_STATIC_ESSID;
+ priv->essid_len = 0;
+ memset(priv->essid, 0, IW_ESSID_MAX_SIZE);
+
if (disable) {
priv->status |= STATUS_RF_KILL_SW;
IPW_DEBUG_INFO("Radio disabled.\n");