From 99a97e8341a3151f84834805eb501cd74b5b536b Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Mon, 21 Oct 2024 22:13:12 +0530 Subject: [PATCH] samples: scan_bm: Fix max-channels for 5GHz When 5GHz is used (standalone or with 2.4GHz) the maximum channels allowed should be increase to avoid scan failure. Fixes SHEL-3196. Signed-off-by: Chaitanya Tata --- samples/scan_bm/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/samples/scan_bm/Kconfig b/samples/scan_bm/Kconfig index 3ef1bd1..2bbe94e 100644 --- a/samples/scan_bm/Kconfig +++ b/samples/scan_bm/Kconfig @@ -125,4 +125,9 @@ config WIFI_SCAN_PROFILE_2_4GHz_NON_OVERLAP_AND_5GHz_NON_DFS_CHAN endchoice +if WIFI_SCAN_PROFILE_5GHz_NON_DFS_CHAN || WIFI_SCAN_PROFILE_2_4GHz_NON_OVERLAP_AND_5GHz_NON_DFS_CHAN +config WIFI_MGMT_SCAN_CHAN_MAX_MANUAL + default 12 +endif + endmenu