mac80211: dont program keys for stations not uploaded
authorJohannes Berg <johannes.berg@intel.com>
Fri, 20 Jan 2012 12:55:19 +0000 (13:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Feb 2012 19:48:24 +0000 (14:48 -0500)
commit89c91caeccf45bbeb86104445125fe1eaec12079
tree55c39a8b8e4e4515995e3c8e86369433a7b291c1
parent077f49392819608084c6d8d20e3dcca230afe07d
mac80211: dont program keys for stations not uploaded

If a station couldn't be uploaded to the driver but
is still kept (only in IBSS mode) we still shouldn't
try to program the keys for it into hardware; fix
this bug by skipping the key upload in this case.

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