diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2009-11-17 11:48:14 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-18 17:09:19 -0500 |
commit | 474c48c9f2118e637477b3b1c70003cb5cbda983 (patch) | |
tree | c334efac0bc3a46f3ab98e408bea5006e91acc8b /drivers/net/wireless/wl12xx/wl1251_init.c | |
parent | 15295380f45aa0d35665f6e5596ac98c081d95b9 (diff) |
wl1251: Add connection monitoring configuration
Add configuration for connection monitor (number of allowed beacons, and
timeout after last received beacon.)
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_init.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_init.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_init.c b/drivers/net/wireless/wl12xx/wl1251_init.c index b2ee4f468fc4..035ab1140b43 100644 --- a/drivers/net/wireless/wl12xx/wl1251_init.c +++ b/drivers/net/wireless/wl12xx/wl1251_init.c | |||
@@ -364,6 +364,11 @@ int wl1251_hw_init(struct wl1251 *wl) | |||
364 | if (ret < 0) | 364 | if (ret < 0) |
365 | goto out_free_data_path; | 365 | goto out_free_data_path; |
366 | 366 | ||
367 | /* Initialize connection monitoring thresholds */ | ||
368 | ret = wl1251_acx_conn_monit_params(wl); | ||
369 | if (ret < 0) | ||
370 | goto out_free_data_path; | ||
371 | |||
367 | /* Beacon filtering */ | 372 | /* Beacon filtering */ |
368 | ret = wl1251_hw_init_beacon_filter(wl); | 373 | ret = wl1251_hw_init_beacon_filter(wl); |
369 | if (ret < 0) | 374 | if (ret < 0) |