diff options
author | Eliad Peller <eliad@wizery.com> | 2011-08-28 08:11:54 -0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-09-14 04:47:26 -0400 |
commit | 2ec7da254c5bdb5fe1dc18f8f5bdbe32deb3c466 (patch) | |
tree | cb2cb2d609fa2836ae38751becdef6797bd4e0b5 /drivers/net/wireless/wl12xx/scan.c | |
parent | 87579550b2532c23789c89eaa61814d5e71ea521 (diff) |
wl12xx: don't use WL1271_SCAN_OPT_PRIORITY_HIGH flag
When setting the WL1271_SCAN_OPT_PRIORITY_HIGH flag, the
driver requests a scan *now*, and the fw doesn't enter psm
before scanning, which in turn might cause packets loss.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/scan.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/scan.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/scan.c b/drivers/net/wireless/wl12xx/scan.c index af4ad2353f59..b2e2abd40045 100644 --- a/drivers/net/wireless/wl12xx/scan.c +++ b/drivers/net/wireless/wl12xx/scan.c | |||
@@ -164,9 +164,6 @@ static int wl1271_scan_send(struct wl1271 *wl, enum ieee80211_band band, | |||
164 | goto out; | 164 | goto out; |
165 | } | 165 | } |
166 | 166 | ||
167 | /* We always use high priority scans */ | ||
168 | scan_options = WL1271_SCAN_OPT_PRIORITY_HIGH; | ||
169 | |||
170 | /* No SSIDs means that we have a forced passive scan */ | 167 | /* No SSIDs means that we have a forced passive scan */ |
171 | if (passive || wl->scan.req->n_ssids == 0) | 168 | if (passive || wl->scan.req->n_ssids == 0) |
172 | scan_options |= WL1271_SCAN_OPT_PASSIVE; | 169 | scan_options |= WL1271_SCAN_OPT_PASSIVE; |