Send network not found event to framework
When supplicant is not able to find a suitable
network to connect, inform framework through
onNetworkNotFound() callback function.
Bug: 161196120
Test: VTS test
Test: Manual - Created a test scenario for not finding a suitable
network.
Change-Id: I35199e003cfd5f8e9a98a0357e0094665a115f96
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index dda958b..3165903 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -2372,6 +2372,7 @@
wpa_msg_ctrl(wpa_s, MSG_INFO,
WPA_EVENT_NETWORK_NOT_FOUND);
+ wpas_notify_network_not_found(wpa_s);
}
}
return 0;