From: Johannes Berg Date: Fri, 24 Jul 2009 20:15:24 +0200 Subject: [ath9k-devel] [PATCH] mac80211: add helper to add to the mac80211 workqueue In-Reply-To: <1248458909-15338-1-git-send-email-lrodriguez@atheros.com> References: <1248458909-15338-1-git-send-email-lrodriguez@atheros.com> Message-ID: <1248459325.32151.32.camel@johannes.local> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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. johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 801 bytes Desc: This is a digitally signed message part Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090724/a9be97e0/attachment.pgp