git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge to Fedora kernel-2.6.18-1.2255_FC5-vs2.0.2.2-rc9 patched with stable patch...
[linux-2.6.git]
/
net
/
ieee80211
/
softmac
/
ieee80211softmac_io.c
diff --git
a/net/ieee80211/softmac/ieee80211softmac_io.c
b/net/ieee80211/softmac/ieee80211softmac_io.c
index
6ae5a1d
..
3b67d19
100644
(file)
--- a/
net/ieee80211/softmac/ieee80211softmac_io.c
+++ b/
net/ieee80211/softmac/ieee80211softmac_io.c
@@
-304,7
+304,7
@@
ieee80211softmac_auth(struct ieee80211_auth **pkt,
2 + /* Auth Transaction Seq */
2 + /* Status Code */
/* Challenge Text IE */
- is_shared_response ? 0 : 1 + 1 + net->challenge_len
+ (is_shared_response ? 1 + 1 + net->challenge_len : 0)
);
if (unlikely((*pkt) == NULL))
return 0;