From: Avinash Patil Date: Fri, 12 Sep 2014 14:38:55 +0000 (+0530) Subject: mwifiex: remove restriction of single channel scan when connected X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=97010cf8dfe5ca2d9f5d8d32a0e1f25246f852ea;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mwifiex: remove restriction of single channel scan when connected With scan channel gap in place, FW comes back to connected channel after each scan; so we dont need to restrict FW to scan single channel while connected. Signed-off-by: Avinash Patil Signed-off-by: Amitkumar Karwar Signed-off-by: Marc Yang Signed-off-by: Cathy Luo Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/mwifiex/scan.c b/drivers/net/wireless/mwifiex/scan.c index 2f86bb63f3c0..183528db88bf 100644 --- a/drivers/net/wireless/mwifiex/scan.c +++ b/drivers/net/wireless/mwifiex/scan.c @@ -1067,12 +1067,6 @@ mwifiex_config_scan(struct mwifiex_private *priv, *filtered_scan); } - /* - * In associated state we will reduce the number of channels scanned per - * scan command to 1 to avoid any traffic delay/loss. - */ - if (priv->media_connected) - *max_chan_per_scan = 1; } /*