diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-21 06:40:02 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:00:23 -0400 |
commit | e6a9854b05c1a6af1308fe2b8c68f35abf28a3ee (patch) | |
tree | 241f611f8194586ccabf61bacb060508773b9d05 /drivers/net/wireless/b43/dma.c | |
parent | cb121bad67a32cde37adc2729b7e18aa4fd3063e (diff) |
mac80211/drivers: rewrite the rate control API
So after the previous changes we were still unhappy with how
convoluted the API is and decided to make things simpler for
everybody. This completely changes the rate control API, now
taking into account 802.11n with MCS rates and more control,
most drivers don't support that though.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/dma.c')
-rw-r--r-- | drivers/net/wireless/b43/dma.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/b43/dma.c b/drivers/net/wireless/b43/dma.c index 098f886976f6..6d65a02b7052 100644 --- a/drivers/net/wireless/b43/dma.c +++ b/drivers/net/wireless/b43/dma.c | |||
@@ -1387,13 +1387,11 @@ void b43_dma_handle_txstatus(struct b43_wldev *dev, | |||
1387 | 1387 | ||
1388 | info = IEEE80211_SKB_CB(meta->skb); | 1388 | info = IEEE80211_SKB_CB(meta->skb); |
1389 | 1389 | ||
1390 | memset(&info->status, 0, sizeof(info->status)); | ||
1391 | |||
1392 | /* | 1390 | /* |
1393 | * Call back to inform the ieee80211 subsystem about | 1391 | * Call back to inform the ieee80211 subsystem about |
1394 | * the status of the transmission. | 1392 | * the status of the transmission. |
1395 | */ | 1393 | */ |
1396 | frame_succeed = b43_fill_txstatus_report(info, status); | 1394 | frame_succeed = b43_fill_txstatus_report(dev, info, status); |
1397 | #ifdef CONFIG_B43_DEBUG | 1395 | #ifdef CONFIG_B43_DEBUG |
1398 | if (frame_succeed) | 1396 | if (frame_succeed) |
1399 | ring->nr_succeed_tx_packets++; | 1397 | ring->nr_succeed_tx_packets++; |