Re: mac80211 suspend corner case (was: Asus eeepc 1008HA suspend issue and mac80211 suspend corner) case

From: Johannes Berg
Date: Thu Dec 24 2009 - 07:43:58 EST


On Wed, 2009-12-23 at 11:19 -0800, Luis R. Rodriguez wrote:

> Reason for me suggesting for mac80211 to deal with this is drivers
> won't know if their failed start() call will have been from resume and
> we likely won't add a bool to start() callback since we already
> debated this a while back.
>
> I don't really care about hardware failures in other cases right now,

Which is the problem.

If your hardware suddenly fails, _regardless_ of when, you need to
unregister from mac80211 since otherwise you'll get loads of callbacks
to failed hardware.

Resume really isn't as special as you'd like to believe.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part