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:
04477bf
)
wl1271: Prevent performing "join" before association
author
Juuso Oikarinen
<
[email protected]
>
Fri, 11 Dec 2009 13:41:10 +0000
(15:41 +0200)
committer
John W. Linville
<
[email protected]
>
Mon, 28 Dec 2009 21:31:36 +0000
(16:31 -0500)
There is a minor bug in the code causing a "join" to be performed before
there is an intention to associate. Fix this.
Signed-off-by: Juuso Oikarinen <
[email protected]
>
Reviewed-by: Luciano Coelho <
[email protected]
>
Signed-off-by: Luciano Coelho <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/wl12xx/wl1271_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/wl12xx/wl1271_main.c
b/drivers/net/wireless/wl12xx/wl1271_main.c
index 7e6b500dfb6f74b3f04c52b4a90c70820dbc9b29..4a997381a8d031459365f8f7ab06ff26a79dd562 100644
(file)
--- a/
drivers/net/wireless/wl12xx/wl1271_main.c
+++ b/
drivers/net/wireless/wl12xx/wl1271_main.c
@@
-1223,7
+1223,7
@@
static int wl1271_op_config(struct ieee80211_hw *hw, u32 changed)
if (conf->flags & IEEE80211_CONF_IDLE &&
test_bit(WL1271_FLAG_JOINED, &wl->flags))
wl1271_unjoin_channel(wl);
- else
+ else
if (!(conf->flags & IEEE80211_CONF_IDLE))
wl1271_join_channel(wl, channel);
if (conf->flags & IEEE80211_CONF_IDLE) {