소스 검색

qcacld-3.0: Fix IPA AP-AP interface setup failure

IPA component needs to discard repetitive start_bss event in
case SAP is on DFS channel. Issue is we checked against
available SAP interface and this will lead to second SAP
interface setup failure.

Fix is to check against same SAP interface to see if it has
already been setup.

Change-Id: I2fc3656f5e1fba39dba14dba137c6202c5ec5af0
CRs-Fixed: 2240368
jiad 7 년 전
부모
커밋
c908ada056
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      components/ipa/core/src/wlan_ipa_core.c

+ 2 - 1
components/ipa/core/src/wlan_ipa_core.c

@@ -1424,7 +1424,8 @@ static QDF_STATUS __wlan_ipa_wlan_evt(qdf_netdev_t net_dev, uint8_t device_mode,
 		 * RADAR detection and chosen channel may not be a DFS channels.
 		 * So dont return error here. Just discard the event.
 		 */
-		if (wlan_ipa_get_iface(ipa_ctx, QDF_SAP_MODE)) {
+		if (ipa_ctx->vdev_to_iface[session_id] !=
+				WLAN_IPA_MAX_SESSION) {
 			qdf_mutex_release(&ipa_ctx->event_lock);
 			return 0;
 		}