diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-03-26 06:53:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-31 14:39:14 -0400 |
commit | 6ccbb92ead9379d7de2cc25cd950d15a8d22e0c9 (patch) | |
tree | 51c618b5c033cde8317f62a1763259047d8ff4ce /drivers/net/wireless/wl12xx/wl1271_init.c | |
parent | e7942235f2496587cb4af86168e54d588ffcbd4f (diff) |
wl1271: Disable connection monitoring while not associated
The wl1271 does not support disabling the connection monitor feature.
Perform the next best thing by increasing the beacon-loss threshold and
BSS_LOSE event timeout to the maximum values.
This is needed, because we really don't want any random probe-requests during
scanning or especially while in ad-hoc mode and not beaconing.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_init.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_init.c b/drivers/net/wireless/wl12xx/wl1271_init.c index d9335fc2a575..987978c3bce0 100644 --- a/drivers/net/wireless/wl12xx/wl1271_init.c +++ b/drivers/net/wireless/wl12xx/wl1271_init.c | |||
@@ -236,7 +236,7 @@ int wl1271_hw_init(struct wl1271 *wl) | |||
236 | goto out_free_memmap; | 236 | goto out_free_memmap; |
237 | 237 | ||
238 | /* Initialize connection monitoring thresholds */ | 238 | /* Initialize connection monitoring thresholds */ |
239 | ret = wl1271_acx_conn_monit_params(wl); | 239 | ret = wl1271_acx_conn_monit_params(wl, false); |
240 | if (ret < 0) | 240 | if (ret < 0) |
241 | goto out_free_memmap; | 241 | goto out_free_memmap; |
242 | 242 | ||