commit | 761ab470364b550c9b1a5e1e31be51d415aaf42b | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Fri May 28 14:24:19 2010 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Jun 03 14:10:45 2010 -0400 |
tree | d5cef754e0ba8a02f9ed6b0a8cf2b9c9d05ae920 | |
parent | 6a8579d0e62c0eac428184ce45e86bc46677724a [diff] |
mac80211: move WEP weak IV check I suspect the compiler will do this optimisation anyway, but it seems cleaner to move this into the WEP switch case. Also make rx_h_decrypt use a local variable for the frame_control so that we don't need to reload the hdr variable for this after linearizing. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>