mac80211: clean up RX key checks
authorJohannes Berg <johannes.berg@intel.com>
Thu, 9 Dec 2010 18:49:00 +0000 (19:49 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 13 Dec 2010 20:23:28 +0000 (15:23 -0500)
commit897bed8b4320774e56f282cdc1cceb4d77442797
tree5b0a61044ec2a1b3e41d2435ed3dff652eebac82
parentf33fdcf1b3a02fb92971a577d194ec6c579374af
mac80211: clean up RX key checks

Using the default key for "any key set" isn't
quite what we should do. It works, but with the
upcoming changes it makes life unnecessarily
complex, so do something better here and really
check for "any key".

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