]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/wireless/nl80211.c
nl80211: limit to one pairwise cipher for associate()
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 2 Jul 2009 19:36:37 +0000 (21:36 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:01:54 +0000 (15:01 -0400)
commit3dc27d25f288c923735e8f10fa8e578be896e96a
tree8bcf907a8607e1f7f8e2a4f8da30cfbc74fc3653
parent4244f41a040288e07d050ea64f60997c584cce9e
nl80211: limit to one pairwise cipher for associate()

In this case, only one cipher makes sense, unlike for
connect() where it may be possible to have the card or
driver select.

No changes to mac80211 due to the way the structs are
laid out -- but the loop in net/mac80211/cfg.c will
degrade to just zero or one passes.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c