On Tue, 2013-12-03 at 17:00 +0100, Janusz Dziedzic wrote: > On 3 December 2013 15:20, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > > On Tue, 2013-12-03 at 09:50 +0100, Janusz Dziedzic wrote: > >> In case of empty NL80211_ATTR_TX_RATES attribute > >> in nl80211_set_tx_bitrate_mask() function back to > >> default bitrate mask. > > Why? > In case we will execute: > iw wlanX set bitrate > with this patch we will back to default - defined by capabilities > (driver) startup values for both legacy and ht (and VHT with last > patch). Maybe add something like that to the commit log - just a single line would be ok (e.g. "back to the default bitrate mask, to be able to reset the state") or so? > Without this patch I don't see an option how to do that from iw. Or I > miss something You're right - how did I ever take this code into the tree? Ugh. It seems it should be reset more often, but I guess we're stuck with it. 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