nl80211: Fix connect command to not claim WPA if WPS is used
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 9 Aug 2011 10:59:43 +0000 (13:59 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 9 Aug 2011 10:59:43 +0000 (13:59 +0300)
commita381f2a2868047475e8d64c2d6bbae6ee03e1786
treee332d1abc52310f54a50e79243a0aba7d14c0fc6
parenta05225c8196e7f38b99b587705cc21b8bf5339da
nl80211: Fix connect command to not claim WPA if WPS is used

Such using params->wpa_ie to figure out whether the connection is for
WPA/WPA2 is not correct since that buffer is used also to add WPS IE. In
case of WPS, do not add NL80211_ATTR_WPA_VERSIONS to avoid confusing
drivers.
src/drivers/driver_nl80211.c