]> 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)
commit68805f32103f216e69f5014e030a497bdf86311c
tree97dc2ba14c14bdfaf26624590ecd8d773a78a07a
parent0a054aece5b1a632fa1843c241c696f49f0dcc3e
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