drivers: wifi: eswifi: WiFi Scan completion indication

Updating the eswifi driver to indicate "scan completion"
to WiFi Management once scanning is done.

Tested with STM32 disco IOT kit.

Signed-off-by: Bilal Wasim <bilalwasim676@gmail.com>
This commit is contained in:
Bilal Wasim 2020-05-09 01:46:58 +05:00 committed by Carles Cufí
commit 1966d48498

View file

@ -231,6 +231,9 @@ static void eswifi_scan(struct eswifi_dev *eswifi)
}
}
/* WiFi scan is done. */
eswifi->scan_cb(eswifi->iface, 0, NULL);
eswifi_unlock(eswifi);
}