summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wl12xx
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2011-12-07 20:21:51 +0100
committerLuciano Coelho <coelho@ti.com>2012-04-12 07:43:58 +0200
commit72b0624fa5b766133fd0be9099724324b1f0d70e (patch)
tree10d5f6aff2160770492390289384c773e6fdf6a9 /drivers/net/wireless/ti/wl12xx
parentwlcore/wl12xx: create per-chip-family private storage (diff)
downloadlinux-72b0624fa5b766133fd0be9099724324b1f0d70e.tar.xz
linux-72b0624fa5b766133fd0be9099724324b1f0d70e.zip
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 e05a1cf750c1..57c70a4321e8 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);
}