linux/drivers/net/wireless/ath/ath5k
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
..
Kconfig
Makefile
ani.c ath5k: use the common cycle counter / listen time implementation 2010-10-11 15:04:20 -04:00
ani.h ath5k: use the common cycle counter / listen time implementation 2010-10-11 15:04:20 -04:00
ath5k.h Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
attach.c ath5k: Fix double free on hw attach error path 2010-10-27 15:54:54 -04:00
base.c ath5k: Properly initialize ath_common->cc_lock. 2010-10-25 14:43:13 -04:00
base.h ath5k: Print rx/tx bytes in debugfs 2010-10-05 13:35:25 -04:00
caps.c
debug.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
debug.h ath5k: Move debugfs under ieee80211/[wiphy-name] 2010-10-13 15:45:21 -04:00
desc.c
desc.h
dma.c ath5k: Fix bitmasks and typos for PCU Diagnostic register 2010-09-28 15:47:57 -04:00
eeprom.c
eeprom.h
gpio.c
initvals.c
led.c
pcu.c ath5k: store the clock rate in common data on channel changes 2010-10-11 15:04:20 -04:00
phy.c ath5k: store the clock rate in common data on channel changes 2010-10-11 15:04:20 -04:00
qcu.c ath5k: Simplify cw_min/max and AIFS configuration 2010-09-21 11:05:16 -04:00
reg.h Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
reset.c ath5k: Allow ath5k to support virtual STA and AP interfaces. 2010-10-05 13:35:23 -04:00
rfbuffer.h
rfgain.h
rfkill.c
sysfs.c