Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265431
b: refs/heads/master
c: 6de062c
h: refs/heads/master
i:
  265429: fb818ff
  265427: 1f2cfc5
  265423: 9b76812
v: v3
  • Loading branch information
Helmut Schaa authored and John W. Linville committed Aug 9, 2011
1 parent 32eb824 commit 6be0b74
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: f75f5c6f61b4d34bf92625fcd1131dd58921e1b5
refs/heads/master: 6de062ced91d894936edc54d79158b9f69f85d0e
8 changes: 7 additions & 1 deletion trunk/net/mac80211/rc80211_minstrel_ht.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,13 @@ minstrel_ht_get_rate(void *priv, struct ieee80211_sta *sta, void *priv_sta,
return mac80211_minstrel.get_rate(priv, sta, &msp->legacy, txrc);

info->flags |= mi->tx_flags;
sample_idx = minstrel_get_sample_rate(mp, mi);

/* Don't use EAPOL frames for sampling on non-mrr hw */
if (mp->hw->max_rates == 1 &&
txrc->skb->protocol == cpu_to_be16(ETH_P_PAE))
sample_idx = -1;
else
sample_idx = minstrel_get_sample_rate(mp, mi);

#ifdef CONFIG_MAC80211_DEBUGFS
/* use fixed index if set */
Expand Down

0 comments on commit 6be0b74

Please sign in to comment.