On Fri, Jul 24, 2009 at 11:15 AM, Johannes Berg<johannes@xxxxxxxxxxxxxxxx> wrote: > On Fri, 2009-07-24 at 14:08 -0400, Luis R. Rodriguez wrote: >> We add a mac80211 helper for adding work onto the mac80211 >> workqueue. We then add a warning if we are suspended. At that >> point drivers nor mac80211 should have queued work, drivers >> and mac80211 should ensure the workqueue will remain clair >> until resume. >> >> We make use of the helper now in mac80211 and on all mac80211 >> drivers. If you see a warning because of this patch during >> the suspend <--> resume cycle it means suspend is busted for >> your driver or mac80211 and it needs to be fixed. > > Looks good to me. Except I forgot about delayed queing, flushing. I will repost and consider all the other things. Luis -- 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