瀏覽代碼

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