diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2009-10-13 09:47:40 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 20:48:08 (GMT) |
commit | 8793f9bb19c00b26532e37f1f516e1d9c7bc0476 (patch) | |
tree | cb1c12ec546584761894976f1258a7cb236f0287 /drivers/net/wireless/wl12xx/wl1271_init.c | |
parent | 2b60100bf04aba28133ccb24efd85f72fb1a5494 (diff) | |
download | linux-fsl-qoriq-8793f9bb19c00b26532e37f1f516e1d9c7bc0476.tar.xz |
wl1271: Add config structure for RX path parameters
Add a configuration structure for RX path parameters, and set default
configuration values there.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_init.c b/drivers/net/wireless/wl12xx/wl1271_init.c index 9abe062..5738263 100644 --- a/drivers/net/wireless/wl12xx/wl1271_init.c +++ b/drivers/net/wireless/wl12xx/wl1271_init.c @@ -94,7 +94,7 @@ static int wl1271_init_rx_config(struct wl1271 *wl, u32 config, u32 filter) { int ret; - ret = wl1271_acx_rx_msdu_life_time(wl, RX_MSDU_LIFETIME_DEF); + ret = wl1271_acx_rx_msdu_life_time(wl); if (ret < 0) return ret; @@ -125,7 +125,7 @@ static int wl1271_init_phy_config(struct wl1271 *wl) if (ret < 0) return ret; - ret = wl1271_acx_rts_threshold(wl, RTS_THRESHOLD_DEF); + ret = wl1271_acx_rts_threshold(wl, wl->conf.rx.rts_threshold); if (ret < 0) return ret; |