On Fri, 2012-06-08 at 09:44 +0200, Sylvain Roger Rieunier wrote: > when i was trying fixed rate in minstrel_ht, frame aggregation > was not working. so i fix it. Please explain in the commit log why it was broken and how the fix works, rather than just saying "I fix[ed] it" > Signed-off-by: Sylvain Roger Rieunier <sylvain.roger.rieunier@xxxxxxxxx> > --- > net/mac80211/rc80211_minstrel_ht.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c > index 2d1acc6..342ec71 100644 > --- a/net/mac80211/rc80211_minstrel_ht.c > +++ b/net/mac80211/rc80211_minstrel_ht.c > @@ -626,8 +626,11 @@ minstrel_ht_get_rate(void *priv, struct ieee80211_sta *sta, void *priv_sta, > > #ifdef CONFIG_MAC80211_DEBUGFS > /* use fixed index if set */ > - if (mp->fixed_rate_idx != -1) > - sample_idx = mp->fixed_rate_idx; > + if (mp->fixed_rate_idx != -1) { > + mi->max_tp_rate = mp->fixed_rate_idx; > + mi->max_tp_rate2 = mp->fixed_rate_idx; > + sample_idx = -1; > + } > #endif > > if (sample_idx >= 0) { -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html