]> git.baikalelectronics.ru Git - kernel.git/commit
b43legacy: Avoid packet losses in the dma worker code
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 22 Dec 2011 00:47:59 +0000 (18:47 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Jan 2012 19:30:43 +0000 (14:30 -0500)
commite5faf72b5d0c9a575e9997e8d3df2e82c8dac74b
tree8545015a8ee333adad1a1f98dc1fbd0c05025539
parente3abae57734aaa3a93c2ea76beebefc206fe8f54
b43legacy: Avoid packet losses in the dma worker code

This patch addresses a bug in the dma worker code that keeps draining
packets even when the hardware queues are full. In such cases packets
can not be passed down to the device and are erroneusly dropped by the
code. It is based on commit bc4aa400de6b8dba6ed9667a4b45dda368c3a08e,
which fixes the same problem in b43.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43legacy/b43legacy.h
drivers/net/wireless/b43legacy/dma.c
drivers/net/wireless/b43legacy/dma.h
drivers/net/wireless/b43legacy/main.c