On 12/08/2009 04:18 PM, Hin-Tak Leung wrote: > > Sorry I haven't been paying too much attention due to other commitments... that sounds like race condition somewhere. Besides adding flag variables, would mutex help? It is a race in the sense that mac80211 may queue a LED change during the shut down process. So far, it seems that the slight change that I posted to Herton's patch is going to work. It keeps the brightness setting routine from queuing any more on/off sequences after the LED has been removed. Larry -- 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