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)
commita31cf1c69e89e0c2d5515b04aca313f1014a714d
tree97dc2ba14c14bdfaf26624590ecd8d773a78a07a
parent9352c19f639354f093cb5457315c01bcb94aa82a
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