UPSTREAM: mwifiex: update max_chan_per_scan correctly for SSID scan
authorBing Zhao <bzhao@marvell.com>
Sat, 4 Aug 2012 01:34:45 +0000 (18:34 -0700)
committerGerrit <chrome-bot@google.com>
Sat, 4 Aug 2012 04:59:04 +0000 (21:59 -0700)
commitf00bf280189164194af820099864966a3c5cb96c
tree893a5d31eb9f162b7e18643b0f335d5f8c284f9e
parent0fe5d09a7fe2c84a5863e9280a129e731c560630
UPSTREAM: 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>
This patch has been submitted to wireless-testing.git and expected
in upstream shortly.

BUG=chrome-os-partner:11597
TEST=Run autotest WiFiMatFunc.090_BgScanBackoff and pass the test

Change-Id: Ie5decec777e91ca28d36dbe366a7ec6c8677b434
Reviewed-on: https://gerrit.chromium.org/gerrit/29230
Reviewed-by: Sam Leffler <sleffler@chromium.org>
Commit-Ready: Bing Zhao <bzhao@marvell.com>
Tested-by: Bing Zhao <bzhao@marvell.com>
drivers/net/wireless/mwifiex/scan.c