On Tue, Apr 16, 2013 at 01:38:44PM +0200, Felix Fietkau wrote: > @@ -454,40 +666,27 @@ void rate_control_get_rate(struct ieee80211_sub_if_data *sdata, [...] > +int rate_control_set_rates(struct ieee80211_hw *hw, > + struct ieee80211_sta *pubsta, > + struct ieee80211_sta_rates *rates) > +{ > + struct ieee80211_sta_rates *old = rcu_dereference(pubsta->rates); > + > + rcu_assign_pointer(pubsta->rates, rates); > + if (old) > + kfree_rcu(old, rcu_head); This means the rate control module must allocate a different ieee80211_sta_rates right ? Karl -- 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