linux/drivers/net/wireless/ath/carl9170
Nicolas Cavallari 992d52529d carl9170: Fix memory accounting when sta is in power-save mode.
On Access Point mode, when transmitting a packet, if the destination
station is in powersave mode, we abort transmitting the packet to the
device queue, but we do not reclaim the allocated memory.  Given enough
packets, we can go in a state where there is no packet on the device
queue, but we think the device has no memory left, so no packet gets
transmitted, connections breaks and the AP stops working.

This undo the allocation done in the TX path when the station is in
power-save mode.

Signed-off-by: Nicolas Cavallari <cavallar@lri.fr>
Acked-by: Christian Lamparter <chunkeey@googlemail.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-02-29 13:08:51 -05:00
..
carl9170.h carl9170: export HW random number generator 2011-08-24 14:41:42 -04:00
cmd.c carl9170: Use do_div for 64-bit division to fix 32-bit kernels 2011-08-26 10:47:58 -04:00
cmd.h carl9170: improve site survey 2011-08-24 14:41:42 -04:00
debug.c switch debugfs to umode_t 2012-01-03 22:54:56 -05:00
debug.h
eeprom.h
fw.c carl9170: move checksum and txseq into subfunctions 2012-01-04 14:30:47 -05:00
fwcmd.h carl9170: import updated firmware headers 2011-08-24 14:41:42 -04:00
fwdesc.h carl9170 firmware: update firmware headers 2011-07-18 14:29:43 -04:00
hw.h carl9170 firmware: update firmware headers 2011-07-18 14:29:43 -04:00
Kconfig carl9170: export HW random number generator 2011-08-24 14:41:42 -04:00
led.c carl9170: fix formatting issues found by checkpatch 2011-07-15 13:38:34 -04:00
mac.c carl9170: move beacon_update into tx.c 2011-07-18 14:29:43 -04:00
main.c module_param: make bool parameters really bool (net & drivers/net) 2011-12-19 22:27:29 -05:00
Makefile
phy.c carl9170: improve site survey 2011-08-24 14:41:42 -04:00
phy.h
rx.c wireless: unify QoS control field definitions 2011-06-27 15:09:39 -04:00
tx.c carl9170: Fix memory accounting when sta is in power-save mode. 2012-02-29 13:08:51 -05:00
usb.c USB: convert drivers/net/* to use module_usb_driver() 2011-11-18 09:44:20 -08:00
version.h carl9170: import updated firmware headers 2011-08-24 14:41:42 -04:00
wlan.h carl9170: import 1.9.4 firmware headers 2011-07-05 15:26:51 -04:00