Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150157
b: refs/heads/master
c: 9955151
h: refs/heads/master
i:
  150155: 715a92d
v: v3
  • Loading branch information
Gábor Stefanik authored and John W. Linville committed May 6, 2009
1 parent 53f1cf5 commit 9e738ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 97d3f458a1e3350dfcbdc3b6aefa75d20d59ee17
refs/heads/master: 9955151df7c6452cae2ed9649f53d265c91cf155
4 changes: 4 additions & 0 deletions trunk/net/mac80211/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,10 @@ ieee80211_tx_h_rate_ctrl(struct ieee80211_tx_data *tx)
if (unlikely(!info->control.rates[0].count))
info->control.rates[0].count = 1;

if (WARN_ON_ONCE((info->control.rates[0].count > 1) &&
(info->flags & IEEE80211_TX_CTL_NO_ACK)))
info->control.rates[0].count = 1;

if (is_multicast_ether_addr(hdr->addr1)) {
/*
* XXX: verify the rate is in the basic rateset
Expand Down

0 comments on commit 9e738ca

Please sign in to comment.