Jones Desougi 3d435ad721 ath5k: Fix double free on hw attach error path
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 <jones.desougi@27m.se>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-10-27 15:54:54 -04:00
..
2010-10-05 13:35:25 -04:00
2010-06-02 16:13:24 -04:00
2010-08-24 16:28:00 -04:00
2010-06-02 16:13:24 -04:00
2010-08-24 16:28:00 -04:00