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:
9f201a8
)
mac80211: Don't access managed mode bits in non-managed mode
author
Vasanthakumar Thiagarajan
<vasanth@atheros.com>
Fri, 27 Mar 2009 07:38:45 +0000
(13:08 +0530)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:27 +0000
(16:54 -0400)
This fixes a stupid bug introduced in
25f85c31d4f
..
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wext.c
patch
|
blob
|
history
diff --git
a/net/mac80211/wext.c
b/net/mac80211/wext.c
index 959aa8379ccf957a7196283df3c3d98f6aa79bbf..a52fb3a4a455fdc77fe166945978d7a5635c3134 100644
(file)
--- a/
net/mac80211/wext.c
+++ b/
net/mac80211/wext.c
@@
-675,7
+675,7
@@
static int ieee80211_ioctl_siwencode(struct net_device *dev,
!sdata->default_key,
keybuf, erq->length);
- if (!ret) {
+ if (!ret
&& sdata->vif.type == NL80211_IFTYPE_STATION
) {
if (remove)
sdata->u.mgd.flags &= ~IEEE80211_STA_TKIP_WEP_USED;
else