]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mwifiex: remove restriction of single channel scan when connected
authorAvinash Patil <patila@marvell.com>
Fri, 12 Sep 2014 14:38:55 +0000 (20:08 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Sep 2014 19:00:52 +0000 (15:00 -0400)
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 <patila@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Marc Yang <yangyang@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/scan.c

index 2f86bb63f3c08085a9735fc8d19a11c33ce8bbac..183528db88bf6889c43ebf28de8b435a6a536673 100644 (file)
@@ -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;
 }
 
 /*