]> git.karo-electronics.de Git - linux-beck.git/commitdiff
wl18xx: set the number of Tx descriptors
authorArik Nemtsov <arik@wizery.com>
Thu, 10 May 2012 09:13:15 +0000 (12:13 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 12:54:49 +0000 (15:54 +0300)
Initialize the number of Tx-descriptors for the 18xx family.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl18xx/main.c

index b298e01213773dfcf7cb0bc671112e0a0f1d6731..68f5e09be50860817aa49e0b011439df75615cee 100644 (file)
@@ -325,6 +325,7 @@ int __devinit wl18xx_probe(struct platform_device *pdev)
        wl->ops = &wl18xx_ops;
        wl->ptable = wl18xx_ptable;
        wl->rtable = wl18xx_rtable;
+       wl->num_tx_desc = 32;
 
        return wlcore_probe(wl, pdev);
 }