Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278128
b: refs/heads/master
c: b79296b
h: refs/heads/master
v: v3
  • Loading branch information
Helmut Schaa authored and John W. Linville committed Nov 17, 2011
1 parent 4e482da commit bf9b3c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a7f23f0a8f6be9d95d8110d34b21ccce03111447
refs/heads/master: b79296beeba470074737a7d5a941f4ddd64863d8
4 changes: 2 additions & 2 deletions trunk/net/mac80211/rc80211_minstrel_ht.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,10 @@ minstrel_ht_update_stats(struct minstrel_priv *mp, struct minstrel_ht_sta *mi)
static bool
minstrel_ht_txstat_valid(struct ieee80211_tx_rate *rate)
{
if (!rate->count)
if (rate->idx < 0)
return false;

if (rate->idx < 0)
if (!rate->count)
return false;

return !!(rate->flags & IEEE80211_TX_RC_MCS);
Expand Down

0 comments on commit bf9b3c6

Please sign in to comment.