summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2016-09-13 17:08:23 +0200
committerJohannes Berg <johannes.berg@intel.com>2016-09-15 16:45:41 +0200
commitf1c1f17ac52d22227c0074b3d661d7ed692b707a (patch)
tree39a551700fae54fc01846f2e8f093c33eded483c /net/mac80211
parent89b706fb28e431fa7639348536c284fb375eb3c0 (diff)
downloadlinux-f1c1f17ac52d22227c0074b3d661d7ed692b707a.tar.gz
linux-f1c1f17ac52d22227c0074b3d661d7ed692b707a.tar.bz2
linux-f1c1f17ac52d22227c0074b3d661d7ed692b707a.zip
cfg80211: allow connect keys only with default (TX) key
There's no point in allowing connect keys when one of them isn't also configured as the TX key, it would just confuse drivers and probably cause them to pick something for TX. Disallow this confusing and erroneous configuration. As wpa_supplicant will always send NL80211_ATTR_KEYS, even when there are no keys inside, allow that and treat it as though the attribute isn't present at all. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions