On Wed, Oct 27, 2010 at 1:38 PM, Jones Desougi <[email protected]> wrote: > If ath5k_hw_attach fails it will free sc->ah (local variable ah) before > returning. However, when it reports failure the caller (ath5k_pci_probe) > will also free sc->ah. Let the caller handle the deallocation, it does > so on further errors as well. > > Signed-off-by: Jones Desougi <[email protected]>
Reviewed-by: Bob Copeland <[email protected]> Thanks, yes, looks like that was due to commit 9adca126d, "ath5k: allocate ath5k_hw prior to initializing hw". This should probably go to stable. -- Bob Copeland %% www.bobcopeland.com _______________________________________________ ath5k-devel mailing list [email protected] https://lists.ath5k.org/mailman/listinfo/ath5k-devel
