linux/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
carl9170
Kconfig
Makefile
ath.h
debug.c
hw.c
key.c
main.c
reg.h
regd.c
regd.h
regd_common.h