[DTV00861472][[Peripheral][WIFI][WIFI_0058-001]Add 5 "not in range" AP, then AC off/on, find system can't show the available APs. ]
[Description]
Fix incorrect max_scan_ssids number
It supports 4 but claim only 1 to cfg80211
Change-Id: Idb48511a7a4cf75f68fd34def7f6f760f4c099b1
CR-Id: DTV00861472
Signed-off-by: guo-jie.wang <guo-jie.wang@mediatek.com>
(cherry picked from commit 3ce41cfdeeb62cce82a0c328ff63b5f6240844f3)
diff --git a/os/linux/gl_init.c b/os/linux/gl_init.c
index 3073ada..123230e 100644
--- a/os/linux/gl_init.c
+++ b/os/linux/gl_init.c
@@ -1462,7 +1462,7 @@
prWdev->iftype = NL80211_IFTYPE_STATION;
prWiphy->iface_combinations = p_mtk_iface_combinations_sta;
prWiphy->n_iface_combinations = mtk_iface_combinations_sta_num;
- prWiphy->max_scan_ssids = 1; /* FIXME: for combo scan */
+ prWiphy->max_scan_ssids = CFG_SCAN_SSID_MAX_NUM;
prWiphy->max_scan_ie_len = 512;
prWiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_ADHOC);
prWiphy->bands[KAL_BAND_2GHZ] = &mtk_band_2ghz;