It's been observed that device sometimes fails to find AP configured in hidden SSID in busy environment. We will increase number of probes for specific SSID scans for getting better results.
Signed-off-by: Amitkumar Karwar <[email protected]> Signed-off-by: Avinash Patil <[email protected]> --- drivers/net/wireless/mwifiex/cfg80211.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/wireless/mwifiex/cfg80211.c b/drivers/net/wireless/mwifiex/cfg80211.c index bf9020f..3783db5 100644 --- a/drivers/net/wireless/mwifiex/cfg80211.c +++ b/drivers/net/wireless/mwifiex/cfg80211.c @@ -2269,6 +2269,12 @@ mwifiex_cfg80211_scan(struct wiphy *wiphy, user_scan_cfg->num_ssids = request->n_ssids; user_scan_cfg->ssid_list = request->ssids; + /* Increase number of probes for specific SSID scans for + * better results + */ + if (request->n_ssids > 1) + user_scan_cfg->num_probes = 4; + if (request->ie && request->ie_len) { offset = 0; for (i = 0; i < MWIFIEX_MAX_VSIE_NUM; i++) { -- 1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
