Bläddra i källkod

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 3 år sedan
förälder
incheckning
71cf1a4856
1 ändrade filer med 5 tillägg och 0 borttagningar
  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