Set NL80211_WPA_VERSION_2 for all RSN connection
This is a revert of open source commit -
https://w1.fi/cgit/hostap/commit/?id=6cc78b3945d3271a66120378de101f7821fb0f2f
where for WPA3 connections, the WPA version was set to
NL80211_WPA_VERSION_2. This caused a connection failures on devices
where kernel nl80211 doesn't have the defenition of WPA version 3
for WPA3 authentication. Setting NL80211_WPA_VERSION_3 on such devices
returns invalid argument error for nl80211_connect command from
supplicant.
Bug: 320227488
Test: connect/disconnect to WPA2 and WPA3 APs.
Change-Id: I2459d4aeced2e6bbbf0f2c57aaf3150562159157
1 file changed