On Friday 20 June 2008 15:31:13 Johannes Berg wrote: > > > > This is not a hard problem to solve. > > > > > - suspend does, in this order (callback used): > > > * stop aggregation (ampdu_action) > > > * remove all keys (set_key) > > > * remove all STAs (sta_notify) > > > * remove all interfaces (remove_interface) > > > * stop the hardware (stop) > > > > I think the hardware-stop should probably be done in the driver > > suspend routine after the mac80211 notification and not by a mac80211 callback. > > Otherwise this is going to get complicated wrt locking. > > All of those callbacks potentially require locks, you really want to > call them outside of any locked section in your ->resume and ->suspend > handlers. ops->stop is special wrt suspend. -- Greetings Michael. -- 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