]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: extend get_key() to return PN for all ciphers
authorJohannes Berg <johannes.berg@intel.com>
Mon, 20 Apr 2015 16:21:58 +0000 (18:21 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 May 2015 11:30:00 +0000 (13:30 +0200)
commite0bdd92bad64ab7bab4c165c9a837365229ebca4
tree97dc2ba14c14bdfaf26624590ecd8d773a78a07a
parent26cb31828a945277a6efca7bbdfd2a74e51b1c5f
mac80211: extend get_key() to return PN for all ciphers

For ciphers not supported by mac80211, the function currently
doesn't return any PN data. Fix this by extending the driver's
get_key_seq() a little more to allow moving arbitrary PN data.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/key.c
net/mac80211/key.h