소스 검색

qcacld-3.0: Send pmk cmd even PMKSA entry is found

Currently, supplicant uses two different ways to delete PMKSA entry,
one uses SSID and cache ID as keywords, another one uses BSSID as
keywords. It causes out of sync between fw and host if driver adds
PMKSA entry with BSSID and supplicant deletes PMKSA entry with SSID
and cache ID.

To resolve this issue, send pmk cmd to fw even the PMKSA entry is
found.

Change-Id: I211da3c86085567592ee9244ae27a4a8189a6626
CRs-Fixed: 3285073
Paul Zhang 2 년 전
부모
커밋
1b38d7fb95
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/hdd/src/wlan_hdd_cfg80211.c

+ 1 - 1
core/hdd/src/wlan_hdd_cfg80211.c

@@ -22110,7 +22110,7 @@ static int __wlan_hdd_cfg80211_set_pmksa(struct wiphy *wiphy,
 		   TRACE_CODE_HDD_CFG80211_SET_PMKSA,
 		   adapter->vdev_id, result);
 
-	if (QDF_IS_STATUS_SUCCESS(result))
+	if (QDF_IS_STATUS_SUCCESS(result) || result == QDF_STATUS_E_EXISTS)
 		sme_set_del_pmkid_cache(hdd_ctx->psoc, adapter->vdev_id,
 					pmk_cache, true);