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
..
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 ath5k: remove ATH_TRACE macro 2010-06-02 16:13:24 -04:00
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 ath5k: report PHY error frames only for chips which need it 2010-06-16 14:59:07 -04:00
desc.h ath5k: take descriptor differences between 5210 and 5211 into account 2010-06-16 14:59:06 -04:00
dma.c ath5k: Fix bitmasks and typos for PCU Diagnostic register 2010-09-28 15:47:57 -04:00
eeprom.c ath5k: clean up some comments 2010-08-24 16:28:00 -04:00
eeprom.h
gpio.c ath5k: remove ATH_TRACE macro 2010-06-02 16:13:24 -04:00
initvals.c
Kconfig
led.c
Makefile ath5k: add sysfs files for ANI parameters 2010-06-02 16:13:26 -04:00
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 ath5k: clean up some comments 2010-08-24 16:28:00 -04:00
rfgain.h
rfkill.c
sysfs.c ath5k: add sysfs files for ANI parameters 2010-06-02 16:13:26 -04:00