qcacld-3.0: RSN IE Update in case of BSS already started

qcacld-2.0 to qcacld-3.0 propagation

Beacon does not show RSN IE after disabling/enabling SAP, hence
stations does not connect back while trying to associate in WPA.

While re-enable SAP from the hostapd_cli, the start_bss is called
twice, first from wps_init which does not populate RSNIE and secondly,
through bss_setup which has RSNIE but getting ignored as the BSS is
already started.

Added the RSN IE in case of BSS already started

Change-Id: I2a67156e66e255e7c007a5925cd81b859009114e
CRs-Fixed: 2144429
This commit is contained in:
Visweswara Tanuku 2018-04-11 11:41:02 +05:30 • committed by nshrivas
commit e6b0da58ec

View file

@ -6957,6 +6957,10 @@ int wlan_hdd_cfg80211_update_apies(struct hdd_adapter *adapter)
wlan_hdd_add_extra_ie(adapter, genie, &total_ielen,
WLAN_EID_INTERWORKING);
if (test_bit(SOFTAP_BSS_STARTED, &adapter->event_flags))
wlan_hdd_add_extra_ie(adapter, genie, &total_ielen,
WLAN_EID_RSN);
#ifdef FEATURE_WLAN_WAPI
if (QDF_SAP_MODE == adapter->device_mode) {
wlan_hdd_add_extra_ie(adapter, genie, &total_ielen,