wl18xx: fix a bug in wl->num_rx_desc initialization
authorYair Shapira <yair.shapira@ti.com>
Wed, 28 Nov 2012 09:42:39 +0000 (11:42 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Dec 2012 08:26:24 +0000 (10:26 +0200)
commitc91ec5f3ada86807ea4857fc5793a4efe99c9de3
treed9fecdfebe54c2072bf188831af5c9112248a466
parentc23280eb1436edd30814e5e40e4c46ae4cdb3cf4
wl18xx: fix a bug in wl->num_rx_desc initialization

wl->num_rx_desc was mistakenly initialized with WL18XX_NUM_TX_DESCRIPTORS
but it should use WL18XX_NUM_RX_DESCRIPTORS instead.

This bug was passed unnoticed because currently both RX and TX descriptors
are initialized to the same value (32).

Signed-off-by: Yair Shapira <yair.shapira@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl18xx/main.c
This page took 0.025344 seconds and 5 git commands to generate.