Report the EAP method failure up to the framework
This commit reports the EAP method failure code up to the framework.
The commit only defines EAP-SIM errors for now, but the solution
allows for other EAP methods to use it if needed.
Bug: 64612561
Test: Manual
Change-Id: I0b4b7c95720e72484b10fc3c33a090d878128239
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
diff --git a/wpa_supplicant/notify.c b/wpa_supplicant/notify.c
index 8b62a6d..3832a33 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -891,6 +891,7 @@
{
wpa_dbg(wpa_s, MSG_ERROR,
"EAP Error code = %d", error_code);
+ wpas_hidl_notify_eap_error(wpa_s, error_code);
}
void wpas_notify_network_bssid_set_changed(struct wpa_supplicant *wpa_s,