diff options
author | Nicolas Cavallari <Nicolas.Cavallari@lri.fr> | 2012-02-23 16:53:34 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-29 13:08:51 -0500 |
commit | 992d52529d7840236d3059b51c15d5eb9e81a869 (patch) | |
tree | feaecc367249ce155d4e851eddcb699f42a431bc /firmware/sun | |
parent | 2b0a53d51b5f263bb581bbdb40ebb9f7e09609b1 (diff) | |
download | op-kernel-dev-992d52529d7840236d3059b51c15d5eb9e81a869.zip op-kernel-dev-992d52529d7840236d3059b51c15d5eb9e81a869.tar.gz |
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>
Diffstat (limited to 'firmware/sun')
0 files changed, 0 insertions, 0 deletions