Browse Source

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 năm trước cách đây
mục cha
commit
71cf1a4856
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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