summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl12xx
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2011-12-07 19:21:51 (GMT)
committerLuciano Coelho <coelho@ti.com>2012-04-12 05:43:58 (GMT)
commit72b0624fa5b766133fd0be9099724324b1f0d70e (patch)
tree10d5f6aff2160770492390289384c773e6fdf6a9 /drivers/net/wireless/ti/wl12xx
parent96e0c6837bb2db2f00d00f5295d0e9467e24a99f (diff)
downloadlinux-72b0624fa5b766133fd0be9099724324b1f0d70e.tar.xz
wlcore/wl12xx: set the number of Tx descriptors per chip family
Each chip family can have a different amount of Tx descriptors. These are set on init. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl12xx')
-rw-r--r--drivers/net/wireless/ti/wl12xx/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/main.c b/drivers/net/wireless/ti/wl12xx/main.c
index e05a1cf..57c70a4 100644
--- a/drivers/net/wireless/ti/wl12xx/main.c
+++ b/drivers/net/wireless/ti/wl12xx/main.c
@@ -674,6 +674,7 @@ static int __devinit wl12xx_probe(struct platform_device *pdev)
wl->ops = &wl12xx_ops;
wl->ptable = wl12xx_ptable;
wl->rtable = wl12xx_rtable;
+ wl->num_tx_desc = 16;
return wlcore_probe(wl, pdev);
}