mwifiex: update max_chan_per_scan correctly for SSID scan
authorAmitkumar Karwar <akarwar@marvell.com>
Sat, 4 Aug 2012 01:06:03 +0000 (18:06 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Aug 2012 19:12:49 +0000 (15:12 -0400)
commitb7525dbd075414ab2dc3742bacdc386f0f1223b2
tree180803c1137456d50397a8e75dfc2afb3e0c35f9
parented1ea6f42ecedbbb3a8c4e0211ad683b8680eebe
mwifiex: update max_chan_per_scan correctly for SSID scan

As per recent patch "658f37b mwifiex: scan less channels..."
less channels are scanned per scan command in associated state.

Default number of channels per scan command for normal scan are
already 4, but those are 14 for SSID specific scan operation.

This code change in this patch is required for SSID specific scan.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/scan.c