]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae6930a9e8b9b5dd49d1c86a13248843d5784696
tree55c39a8b8e4e4515995e3c8e86369433a7b291c1
parent41addf352a066328f9fbc4131d8cb727c3bf326b
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