diff options
| author | Ryan Hsu <ryanhsu@qca.qualcomm.com> | 2014-06-04 05:05:23 -0700 |
|---|---|---|
| committer | Pitani Venkata Rajesh Kumar <c_vpitan@qti.qualcomm.com> | 2014-06-11 13:23:00 +0530 |
| commit | 0e5efacb8a82c74a4d13b8ea20548fedf79bb575 (patch) | |
| tree | 7cd980cd0a49970d7c231bbc9999b4d02f6dfd9e | |
| parent | 2019fd3627a3b095d760dd645a1ce222152203ce (diff) | |
qcacld: sap: reset encryption type when start bss
While restarting SAP to different encryption type without
reloading the driver, e.g from WPA->OPEN.
The sapConfig will carry previous configuration and flag
the adapter's ucEncryptType with incorrect encryption type.
Reset the encryption type while starting the bss.
Change-Id: Ia30e61055d2bc8a1e0b23aa4b3c0dfd0f60b3470
CRs-fixed: 675000
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index 2e164287b1f4..538eef5e8b75 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -2377,6 +2377,11 @@ static int wlan_hdd_cfg80211_start_bss(hdd_adapter_t *pHostapdAdapter, } pConfig->fwdWPSPBCProbeReq = 1; // Forward WPS PBC probe request frame up + pConfig->RSNEncryptType = eCSR_ENCRYPT_TYPE_NONE; + pConfig->mcRSNEncryptType = eCSR_ENCRYPT_TYPE_NONE; + (WLAN_HDD_GET_AP_CTX_PTR(pHostapdAdapter))->ucEncryptType = + eCSR_ENCRYPT_TYPE_NONE; + pConfig->RSNWPAReqIELength = 0; memset(&pConfig->RSNWPAReqIE[0], 0, sizeof(pConfig->RSNWPAReqIE)); pIe = wlan_hdd_cfg80211_get_ie_ptr(pBeacon->tail, pBeacon->tail_len, |
