Skip to content

Commit

Permalink
drivers: wifi: Fix the build failure
Browse files Browse the repository at this point in the history
The prototype has changed in Zephyr, this commit only fixes the build
failure, doesn't implement the feature, it will be done in a separate
commit.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
  • Loading branch information
krish2718 committed Jul 6, 2023
1 parent f5f46e5 commit 2975a79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion drivers/wifi/nrf700x/zephyr/inc/zephyr_wifi_mgmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/wifi/nrf700x/zephyr/src/zephyr_wifi_mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2975a79

Please sign in to comment.