kernel_optimize_test/drivers/net/wireless/ath/ath5k
Bob Copeland bdc71bc592 ath5k: fix error handling in ath5k_beacon_send
This cleans up error handling for the beacon in case of dma mapping
failure.  We need to free the skb when dma mapping fails instead of
nulling and leaking the pointer, and we should bail out to avoid
giving the hardware the bad descriptor.

Finally, we need to perform the null check after trying to update
the beacon, or else beacons will never be sent after a single
mapping failure.

Cc: stable@kernel.org
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-08-09 16:11:33 -04:00
..
ahb.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
ani.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
ani.h
ath5k.h ath5k: remove ath5k_hw_get_capability(), don't use VEOL on AR5210 2011-07-22 09:51:15 -04:00
attach.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
base.c ath5k: fix error handling in ath5k_beacon_send 2011-08-09 16:11:33 -04:00
base.h ath5k: remove ath5k_hw_get_capability(), don't use VEOL on AR5210 2011-07-22 09:51:15 -04:00
caps.c ath5k: remove ath5k_hw_get_capability(), don't use VEOL on AR5210 2011-07-22 09:51:15 -04:00
debug.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
debug.h ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
desc.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
desc.h ath5k: fix typos, bad comment formatting and GHz in place of MHz 2011-07-11 15:02:16 -04:00
dma.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
eeprom.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
eeprom.h ath5k: fix typos, bad comment formatting and GHz in place of MHz 2011-07-11 15:02:16 -04:00
gpio.c
initvals.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
Kconfig
led.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
mac80211-ops.c ath5k: merge ath5k_{init, deinit}_hw() with their thin wrappers 2011-07-22 09:51:14 -04:00
Makefile
pci.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
pcu.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
phy.c ath5k: use get_unaligned_le32() in ath5k_write_pwr_to_pdadc_table() 2011-07-22 09:51:16 -04:00
qcu.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
reg.h ath5k: fix typos, bad comment formatting and GHz in place of MHz 2011-07-11 15:02:16 -04:00
reset.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
rfbuffer.h
rfgain.h ath5k: fix typos, bad comment formatting and GHz in place of MHz 2011-07-11 15:02:16 -04:00
rfkill.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
sysfs.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
trace.h ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00