]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit32ae29602d89e2d05c521e67fbe99bba78c490ad
tree8bcf907a8607e1f7f8e2a4f8da30cfbc74fc3653
parent58850fbc53c8f357d3c9c06957d37e784de3e9ea
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