On Thu, Oct 2, 2008 at 12:31 PM, Elias Oltmanns <eo@xxxxxxxxxxxxxx> wrote: > Sorry, but I don't think this is safe. Checking and restoring the > started flag has to be protected too, otherwise there can be races > against ->stop(). Yes, it's a bit of a mess. Even if it were serialized, a ->stop() happening between suspend's call to hw_stop and actually powering down the device would clear the flag. Ho hum. -- Bob Copeland %% www.bobcopeland.com -- 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