]> 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)
commitf0c4560110b4377df640605435ff54a5425f9327
tree8545015a8ee333adad1a1f98dc1fbd0c05025539
parentf23cbf925e283b8f9bc33b53fa10fdfa0f5193ba
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 897710a635113467c7548d3213c80b61c2f61920,
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