소스 검색

qcacmn: Fix for peer authorize check

When EasyMesh feature is enable at compile time but not at runtime,
then the peer authorization is not proper.
Fix is to check for peer authentication irrespective of feature enable
at compile or runtime.

CRs-Fixed: 3252225
Change-Id: I5790e054c838114318f6e819a164b0a8c7b94c83
Devender Kumar 2 년 전
부모
커밋
71cf1a4856
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      ipa/core/src/wlan_ipa_core.c

+ 5 - 0
ipa/core/src/wlan_ipa_core.c

@@ -1222,7 +1222,12 @@ wlan_ipa_get_peer_auth_state(ol_txrx_soc_handle dp_soc, uint8_t *peer_mac,
 		is_authenticated = wlan_ipa_get_peer_state(dp_soc,
 							   iface->session_id,
 							   peer_mac);
+	} else {
+		is_authenticated = wlan_ipa_get_peer_state(dp_soc,
+							   iface->session_id,
+							   peer_mac);
 	}
+
 	return is_authenticated;
 }
 #else