nl80211: Fix a GET_KEY reply attribute
authorAndrew Zaborowski <andrew.zaborowski@intel.com>
Mon, 24 Sep 2018 16:10:22 +0000 (18:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 2 Oct 2018 07:56:30 +0000 (09:56 +0200)
commitefdfce7270de85a8706d1ea051bef3a7486809ff
tree4dbdbe08fa287c771d7a6803dcb3f1cf08d99cf2
parent48f3b9e989725127e0edf1cc2f2e169094d03a43
nl80211: Fix a GET_KEY reply attribute

Use the NL80211_KEY_IDX attribute inside the NL80211_ATTR_KEY in
NL80211_CMD_GET_KEY responses to comply with nl80211_key_policy.
This is unlikely to affect existing userspace.

Signed-off-by: Andrew Zaborowski <andrew.zaborowski@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c