mac80211: move RX WEP weak IV counting
authorJohannes Berg <johannes.berg@intel.com>
Mon, 12 Mar 2012 12:49:13 +0000 (13:49 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Mar 2012 18:54:16 +0000 (14:54 -0400)
commit617bbde878604adfcd557fc2a8952f77ab4ebd95
treeaa98cf7d59427f9d0fb06f33b26e1d096bcb8e6f
parent6b6fa5868eec26bdc6a83543cebb8cf832a2645a
mac80211: move RX WEP weak IV counting

This is better done inside the WEP decrypt
function where it doesn't have to check all
the conditions any more since they've been
tested already.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c
net/mac80211/wep.c
net/mac80211/wep.h