All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] ath9k: ath9k_ps_restore used after ath9k_hw_detach
@ 2009-06-22 16:23 ` Jiri Slaby
  0 siblings, 0 replies; 4+ messages in thread
From: Jiri Slaby @ 2009-06-22 16:23 UTC (permalink / raw)
  To: ath9k-devel

Hi,

In ath_detach, there is:
ath9k_hw_detach(sc->sc_ah);
ath9k_exit_debug(sc);
ath9k_ps_restore(sc);
which is obviously wrong. sc->ah is dereferenced in restore, but it's
already freed since detach.

I don't quite understand why you try to set power while it's being
already set to full sleep in ath9k_hw_detach. So I think the fix is to
remove the restore call, but dunno. So please fix it anyhow :).

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-23  5:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-22 16:23 [ath9k-devel] ath9k: ath9k_ps_restore used after ath9k_hw_detach Jiri Slaby
2009-06-22 16:23 ` Jiri Slaby
2009-06-23  5:35 ` [ath9k-devel] " Vasanthakumar Thiagarajan
2009-06-23  5:35   ` Vasanthakumar Thiagarajan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.