On Wed, 2011-02-09 at 13:59 +0100, Arend van Spriel wrote: > Hi Johannes, > > With our mac80211-based driver I was associated with 5GHz AP and ran into > an assert. Investigating this I found that a software scan was initiated > and our driver got a probe request from mac80211 to be transmitted. > However, it turned out that the transmit rate was a 2GHz rate and our > driver was still configured to 5GHz band. The ieee80211_tx_info also > contained the band and indeed that was for 2GHz. Given the comment for the > band attribute I am wondering whether we should a band switch implicitly > or not: > > * @band: the band to transmit on (use for checking for races) > > Any suggestions? Are we have a race condition here? Yes, there are race conditions here -- do you implement flush? If yes, it might be interesting to hook up the tx function to tracing (in mac80211) and analyse the race in more detail via tracing. 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