OpenCloudOS-Kernel/drivers/net/wireless/ath
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
..
ath5k ath5k: fix error handling in ath5k_beacon_send 2011-08-09 16:11:33 -04:00
ath9k ath9k: fix a misprint which leads to incorrect calibration 2011-08-09 16:11:33 -04:00
carl9170 carl9170: fix sparse warnings enabled by CONFIG_SPARSE_RCU_POINTER 2011-07-20 15:04:37 -04:00
Kconfig ar9170usb: purge obsolete driver 2011-04-07 15:24:37 -04:00
Makefile ar9170usb: purge obsolete driver 2011-04-07 15:24:37 -04:00
ath.h ath9k: Add a debug entry to start/stop ANI 2011-06-01 15:36:29 -04:00
debug.c ath: Add and use ath_printk and ath_<level> 2010-12-07 16:34:39 -05:00
hw.c Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-24 16:47:54 -04:00
key.c ath: use get_unaligned_le{16,32} in ath_hw_keysetmac() 2011-07-18 14:29:41 -04:00
main.c ath: Add and use ath_printk and ath_<level> 2010-12-07 16:34:39 -05:00
reg.h ath9k_hw: move the cycle counter tracking to ath 2010-10-11 15:04:20 -04:00
regd.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-04-25 14:34:25 -04:00
regd.h ath: Add function to check if 4.9GHz channels are allowed 2011-01-28 15:44:26 -05:00
regd_common.h ath: Add a missing world regulatory domain 0x6C 2011-04-14 15:35:14 -04:00