Loading
qcacmn: Do not delete/update old PMK entries if new PMK is same
Currently the PMKSA entries are deleted only if the BSSID matches and will delete all the matching PMK cache entries even though the new PMK is same as the existing PMK for the matched BSSID. This results in unnecessary deletion/updation of PMKSA entries. This change allows to check PMK as well along with BSSID. And if the PMK doesn't match with existing matched BSSID entry then only we delete the PMKSA entries. This change fixes the below OKC scenario and avoids Full EAP: Connect to AP1 -> Roam to AP2 -> Disconnect and Reconnect AP2 -> Disconnect and Reconnect AP1. Change-Id: Ic41c2044e70f8d375130ef9e0af9fe4b83027c26 CRs-Fixed: 2913686