aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_tx.c
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2010-02-22 01:38:41 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-03-09 15:03:05 -0500
commit0a34332f669dbcd9efc13a45b30985c30ba8f65e (patch)
tree256b01f838453ff594be210faf6409554b06bbdb /drivers/net/wireless/wl12xx/wl1271_tx.c
parent04e36fc5f1ff4e349ea21de8d15e4e1844d04197 (diff)
wl1271: Disable host TX rate control
Disable host TX rate control. The wl1271 firmware is already managing rate control, so this eliminate unnecessary host processing. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_tx.c')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_tx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_tx.c b/drivers/net/wireless/wl12xx/wl1271_tx.c
index 1b11e2caabd6..6d109df9a0a0 100644
--- a/drivers/net/wireless/wl12xx/wl1271_tx.c
+++ b/drivers/net/wireless/wl12xx/wl1271_tx.c
@@ -350,6 +350,8 @@ static void wl1271_tx_complete_packet(struct wl1271 *wl,
350 result->id, skb, result->ack_failures, 350 result->id, skb, result->ack_failures,
351 result->rate_class_index, result->status); 351 result->rate_class_index, result->status);
352 352
353 /* FIXME: do we need to tell the stack about the used rate? */
354
353 /* return the packet to the stack */ 355 /* return the packet to the stack */
354 ieee80211_tx_status(wl->hw, skb); 356 ieee80211_tx_status(wl->hw, skb);
355 wl->tx_frames[result->id] = NULL; 357 wl->tx_frames[result->id] = NULL;