qcacld-3.0: Clear hostap key storage when BSS is stopped
qcacld-2.0 to qcacld-3.0 propagation Invalidate the keys stored in the hostap context when BSS stop event is received, so that no old key will be wrongly issued to firmware when hostapd restarts the BSS with a different encryption mode. Change-Id: Ied1fa37cfcff32d3ee87ae26490e59ae59211952 CRs-Fixed: 1046965
This commit is contained in:
@@ -1253,6 +1253,9 @@ QDF_STATUS hdd_hostapd_sap_event_cb(tpSap_Event pSapEvent,
|
||||
hdd_info("P2PGO is going down now");
|
||||
hdd_issue_stored_joinreq(sta_adapter, pHddCtx);
|
||||
}
|
||||
pHddApCtx->groupKey.keyLength = 0;
|
||||
for (i = 0; i < CSR_MAX_NUM_KEY; i++)
|
||||
pHddApCtx->wepKey[i].keyLength = 0;
|
||||
goto stopbss;
|
||||
|
||||
case eSAP_DFS_CAC_START:
|
||||
|
Reference in New Issue
Block a user