Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 129747
b: refs/heads/master
c: 157ec87
h: refs/heads/master
i:
  129745: 7df4d74
  129743: 1d46d4d
v: v3
  • Loading branch information
Jouni Malinen authored and John W. Linville committed Jan 12, 2009
1 parent 441947f commit 9221a38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d57854bb1d78ba89ffbfdfd1c3e95b52ed7478ff
refs/heads/master: 157ec8768457e8177d281ae099fb1c321c9a16d7
10 changes: 1 addition & 9 deletions trunk/drivers/net/wireless/ath9k/xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,7 @@ static void ath_tx_complete(struct ath_softc *sc, struct sk_buff *skb,
tx_info->flags |= IEEE80211_TX_STAT_ACK;
}

tx_info->status.rates[0].count = tx_status->retries;
if (tx_info->status.rates[0].flags & IEEE80211_TX_RC_MCS) {
/* Change idx from internal table index to MCS index */
int idx = tx_info->status.rates[0].idx;
struct ath_rate_table *rate_table = sc->cur_rate_table;
if (idx >= 0 && idx < rate_table->rate_cnt)
tx_info->status.rates[0].idx =
rate_table->info[idx].ratecode & 0x7f;
}
tx_info->status.rates[0].count = tx_status->retries + 1;

hdrlen = ieee80211_get_hdrlen_from_skb(skb);
padsize = hdrlen & 3;
Expand Down

0 comments on commit 9221a38

Please sign in to comment.