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/notify.c b/wpa_supplicant/notify.c
index bcfdb90..c01a6ee 100644
--- a/wpa_supplicant/notify.c
+++ b/wpa_supplicant/notify.c
@@ -1231,3 +1231,11 @@
wpas_hidl_notify_transition_disable(wpa_s, ssid, bitmap);
}
+
+void wpas_notify_network_not_found(struct wpa_supplicant *wpa_s)
+{
+ if (!wpa_s)
+ return;
+
+ wpas_hidl_notify_network_not_found(wpa_s);
+}