Jelajahi Sumber

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 tahun lalu
induk
melakukan
71cf1a4856
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  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