linux_dsm_epyc7002/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 Fix common misspellings 2011-03-31 11:26:23 -03:00
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 ath5k: remove ATH_TRACE macro 2010-06-02 16:13:24 -04:00
initvals.c ath5k: merge ath5k_hw and ath5k_softc 2011-07-20 15:04:33 -04:00
Kconfig ath5k: use tracing for packet tx/rx dump 2011-01-28 15:44:27 -05:00
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 ath5k: Move mac80211 functions into new file 2011-01-04 14:35:11 -05:00
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 ath5k: replace spaces with tabs as suggested by checkpatch.pl 2011-07-08 11:44:28 -04:00
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