diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2009-11-17 19:48:14 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-19 01:09:19 +0300 |
commit | 474c48c9f2118e637477b3b1c70003cb5cbda983 (patch) | |
tree | c334efac0bc3a46f3ab98e408bea5006e91acc8b /drivers/net/wireless/wl12xx/wl1251_init.c | |
parent | 15295380f45aa0d35665f6e5596ac98c081d95b9 (diff) | |
download | linux-474c48c9f2118e637477b3b1c70003cb5cbda983.tar.xz |
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) if (ret < 0) goto out_free_data_path; + /* Initialize connection monitoring thresholds */ + ret = wl1251_acx_conn_monit_params(wl); + if (ret < 0) + goto out_free_data_path; + /* Beacon filtering */ ret = wl1251_hw_init_beacon_filter(wl); if (ret < 0) |