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-Tag: v4.9.8~5486^2~75^2~115 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97010cf8dfe5ca2d9f5d8d32a0e1f25246f852ea;p=platform%2Fkernel%2Flinux-rpi3.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 2f86bb6..183528d 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; } /*