aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_main.c
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2009-10-08 14:56:26 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:47:50 -0400
commitbe7078c21d826fbaab77f88440958019aab969af (patch)
treec47e20373f34507044858aa43713107390879885 /drivers/net/wireless/wl12xx/wl1271_main.c
parentd94cd297e58b55bb272fdfd51ff0de7acbc1941b (diff)
wl1271: Corrections to TX path
Corrections to the TX path - use correct number of maximum descriptors (32 instead of 16) and correct checking and setting of excessive retries on completion. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_main.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/wl1271_main.c
index 6e35fcf37e4f..0a0f2eacf400 100644
--- a/drivers/net/wireless/wl12xx/wl1271_main.c
+++ b/drivers/net/wireless/wl12xx/wl1271_main.c
@@ -1293,9 +1293,7 @@ static int __devinit wl1271_probe(struct spi_device *spi)
1293 wl->basic_rate_set = WL1271_DEFAULT_BASIC_RATE_SET; 1293 wl->basic_rate_set = WL1271_DEFAULT_BASIC_RATE_SET;
1294 wl->band = IEEE80211_BAND_2GHZ; 1294 wl->band = IEEE80211_BAND_2GHZ;
1295 1295
1296 /* We use the default power on sleep time until we know which chip 1296 for (i = 0; i < ACX_TX_DESCRIPTORS; i++)
1297 * we're using */
1298 for (i = 0; i < FW_TX_CMPLT_BLOCK_SIZE; i++)
1299 wl->tx_frames[i] = NULL; 1297 wl->tx_frames[i] = NULL;
1300 1298
1301 spin_lock_init(&wl->wl_lock); 1299 spin_lock_init(&wl->wl_lock);