summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/init.c
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2010-11-08 10:51:07 +0100
committerLuciano Coelho <luciano.coelho@nokia.com>2010-11-22 16:45:13 +0200
commit68d069c45f73e8aeda0249891daec1f7e2f0e067 (patch)
tree03780680ec225b9428a5de30a4e50ad3b0230657 /drivers/net/wireless/wl12xx/init.c
parentfa97f46b30357a50f3ee193e6f82864f95bc55ec (diff)
downloadblackbird-op-linux-68d069c45f73e8aeda0249891daec1f7e2f0e067.tar.gz
blackbird-op-linux-68d069c45f73e8aeda0249891daec1f7e2f0e067.zip
wl1271: add support for HW TX fragmentation
Indicate to mac80211 we support HW fragmentation. Support updates of the fragmentation threshold via the set_frag_threshold callback. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/init.c')
-rw-r--r--drivers/net/wireless/wl12xx/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/init.c b/drivers/net/wireless/wl12xx/init.c
index 492edc0f7aca..7949d346aadb 100644
--- a/drivers/net/wireless/wl12xx/init.c
+++ b/drivers/net/wireless/wl12xx/init.c
@@ -290,7 +290,7 @@ int wl1271_hw_init(struct wl1271 *wl)
goto out_free_memmap;
/* Default fragmentation threshold */
- ret = wl1271_acx_frag_threshold(wl);
+ ret = wl1271_acx_frag_threshold(wl, wl->conf.tx.frag_threshold);
if (ret < 0)
goto out_free_memmap;
OpenPOWER on IntegriCloud