diff --git a/samples/wifi/scan/src/main.c b/samples/wifi/scan/src/main.c index 30091cbf9c6..6993e6aa49b 100644 --- a/samples/wifi/scan/src/main.c +++ b/samples/wifi/scan/src/main.c @@ -51,7 +51,8 @@ const struct wifi_scan_params tests[] = { }, #if defined(CONFIG_WIFI_MGMT_FORCED_PASSIVE_SCAN) || defined(CONFIG_WIFI_SCAN_TYPE_PASSIVE) { - .scan_type = WIFI_SCAN_TYPE_PASSIVE + .scan_type = WIFI_SCAN_TYPE_PASSIVE, + .dwell_time_passive= CONFIG_WIFI_MGMT_SCAN_DWELL_TIME_PASSIVE }, #endif #ifdef CONFIG_WIFI_SCAN_BAND_2_4_GHZ