nl80211: Set cipher suites when using user space SME
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 13 Dec 2010 19:08:53 +0000 (21:08 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 13 Dec 2010 19:08:53 +0000 (21:08 +0200)
commitaca016054885c17d58c41888698761f2e1ce2b39
tree107e758ee0a7c4f153c124ad5eb079e9a55868d0
parentb39f58347d1e27f145a71bb5e6cda5ebd7853877
nl80211: Set cipher suites when using user space SME

Previously, pairwise and group cipher suites were configured only
when kernel SME (nl80211 connect API) was used. However, mac80211
needs this information even in the user space SME case for one
thing: to disable HT when TKIP/WEP is used. Add
NL80211_ATTR_CIPHER_SUITES_PAIRWISE to fix this special case with
user space SME. This allows mac80211 to disable HT properly when
the AP is configured with configuration that is not allowed.
src/drivers/driver_nl80211.c
wpa_supplicant/sme.c