diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2008-11-17 16:08:21 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-26 15:47:20 +0100 |
commit | 1548c86ab1552199a3b99b958ccfb590fc9c8f84 (patch) | |
tree | 9846dc5b5ea466a9cf49ac5b506310889e7244d2 /drivers/net/wireless/rtl818x | |
parent | mac80211: Fix pid rate-setting algorithm to allow rate changes (diff) | |
download | linux-1548c86ab1552199a3b99b958ccfb590fc9c8f84.tar.xz linux-1548c86ab1552199a3b99b958ccfb590fc9c8f84.zip |
rtl8187: Fix transmission count sent to mac80211
In the commit entitled "mac80211/drivers: rewrite the rate control
API", the meaning of the packet transmit count was changed from the
number of retries to the total number. In driver rtl8187, this change
was missed.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Acked-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Tested-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl818x')
-rw-r--r-- | drivers/net/wireless/rtl818x/rtl8187_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8187_dev.c b/drivers/net/wireless/rtl818x/rtl8187_dev.c index 180bc50db329..69ea5222f163 100644 --- a/drivers/net/wireless/rtl818x/rtl8187_dev.c +++ b/drivers/net/wireless/rtl818x/rtl8187_dev.c @@ -496,7 +496,7 @@ static void rtl8187b_status_cb(struct urb *urb) __skb_unlink(skb, &priv->b_tx_status.queue); if (tok) info->flags |= IEEE80211_TX_STAT_ACK; - info->status.rates[0].count = pkt_rc; + info->status.rates[0].count = pkt_rc + 1; ieee80211_tx_status_irqsafe(hw, skb); } |