| 1 |
tx.c | 3 ++- |
| 2 |
1 file changed, 2 insertions(+), 1 deletion(-) |
| 3 |
|
| 4 |
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c |
| 5 |
index b47435d..751934b 100644 |
| 6 |
--- a/net/mac80211/tx.c |
| 7 |
+++ b/net/mac80211/tx.c |
| 8 |
@@ -539,7 +539,8 @@ ieee80211_tx_h_rate_ctrl(struct ieee80211_tx_data *tx) |
| 9 |
if (tx->sta) |
| 10 |
tx->sta->last_tx_rate = txrc.reported_rate; |
| 11 |
|
| 12 |
- if (unlikely(!info->control.rates[0].count)) |
| 13 |
+ if (unlikely(!info->control.rates[0].count) || |
| 14 |
+ info->flags & IEEE80211_TX_CTL_NO_ACK) |
| 15 |
info->control.rates[0].count = 1; |
| 16 |
|
| 17 |
if (is_multicast_ether_addr(hdr->addr1)) { |