diff --git a/drivers/wifi/nrf700x/zephyr/inc/zephyr_wifi_mgmt.h b/drivers/wifi/nrf700x/zephyr/inc/zephyr_wifi_mgmt.h index 2f377af2c73f..e597a3ce0f23 100644 --- a/drivers/wifi/nrf700x/zephyr/inc/zephyr_wifi_mgmt.h +++ b/drivers/wifi/nrf700x/zephyr/inc/zephyr_wifi_mgmt.h @@ -23,7 +23,8 @@ struct twt_interval_float { unsigned char exponent; }; -int wifi_nrf_disp_scan_zep(const struct device *dev, scan_result_cb_t cb); +int wifi_nrf_disp_scan_zep(const struct device *dev, struct wifi_scan_params *params, + scan_result_cb_t cb); enum wifi_nrf_status wifi_nrf_disp_scan_res_get_zep(struct wifi_nrf_vif_ctx_zep *vif_ctx_zep); diff --git a/drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_mgmt.c b/drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_mgmt.c index 293c8257c1a2..3f385e40a197 100644 --- a/drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_mgmt.c +++ b/drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_mgmt.c @@ -74,7 +74,7 @@ void wifi_nrf_scan_timeout_work(struct k_work *work) vif_ctx_zep->scan_in_progress = false; } -int wifi_nrf_disp_scan_zep(const struct device *dev, +int wifi_nrf_disp_scan_zep(const struct device *dev, struct wifi_scan_params *params, scan_result_cb_t cb) { enum wifi_nrf_status status = WIFI_NRF_STATUS_FAIL;