On Mon, Dec 6, 2010 at 8:22 PM, Sujith <m.sujith@xxxxxxxxx> wrote: > Luis R. Rodriguez wrote: >> That's the thing, the device was powered up, lifted from idle, but we > Â Â Â Â Â Â Â Â Â Â^^^^^^^^^^^^^^^^^^^^^^^^^ > Not according to mac80211 - start() wasn't issued, config() with ~CONF_IDLE > wasn't issued. > > This is the issue in ath9k_htc: > > * modprobe ath9k_htc > * pm-suspend > --- > * resume > > In this case, as I said above, neither start() nor CONF_IDLE have been notified > to the driver by mac80211, since the interface was never brought up. > > But ath9k_htc powers up the device while initialization, immediately when the driver > is loaded, not waiting for start() or ~CONF_IDLE. And since the driver maintains > internal state with respect to the radio's power status, I think it is up to the > driver to clean it properly ... Oh right, I see. Should we not wait to turn the radio until we get a non-idle config() call? 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