diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-02-22 09:38:41 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-09 23:03:05 +0300 |
commit | 0a34332f669dbcd9efc13a45b30985c30ba8f65e (patch) | |
tree | 256b01f838453ff594be210faf6409554b06bbdb /drivers/net/wireless/wl12xx/wl1271_tx.c | |
parent | 04e36fc5f1ff4e349ea21de8d15e4e1844d04197 (diff) | |
download | linux-0a34332f669dbcd9efc13a45b30985c30ba8f65e.tar.xz |
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.c | 2 |
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, result->id, skb, result->ack_failures, result->rate_class_index, result->status); + /* FIXME: do we need to tell the stack about the used rate? */ + /* return the packet to the stack */ ieee80211_tx_status(wl->hw, skb); wl->tx_frames[result->id] = NULL; |