On Fri, 2012-03-02 at 15:46 -0800, Thomas Pedersen wrote: > Airtime link metric estimation was broken in HT mesh, use > cfg80211_calculate_bitrate to get the right rate value. > > Also factor out rate copying from sta_set_sinfo(). > > Signed-off-by: Thomas Pedersen <thomas@xxxxxxxxxxx> > --- > v2: > factor out rate copying (Johannes) > +void sta_set_rate_info(struct sta_info *sta, struct station_info *sinfo) For stack usage, it'd be better if you gave this two arguments (struct rate_info *txrate, struct rate_info *rxrate), or maybe simply factored out *only* the TX-rate bit? johannes -- 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