mwifiex: send fewer channels to scan while connected
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 16 Mar 2017 10:46:11 +0000 (16:16 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 20 Mar 2017 17:08:47 +0000 (19:08 +0200)
commit0a5cc49750b89717ad02abf132aa119743c0e5d4
treee87a400b531fc61cd4af04865f924ff95baaa36a
parent92c70a958b0b6b7e729a47a7c85762636859eee9
mwifiex: send fewer channels to scan while connected

Application triggers periodic background scans when device is connected.
We will scan less number of channels per scan command so that data
traffic won't get affected.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/scan.c