[PATCH] bcm43xx: Drain TX status before starting IRQs
authorMichael Buesch <mb@bu3sch.de>
Sun, 5 Nov 2006 21:34:36 +0000 (15:34 -0600)
committerChris Wright <chrisw@sous-sol.org>
Sat, 2 Dec 2006 00:12:36 +0000 (16:12 -0800)
commit5cecaf35edb8cc6c65b64c276dc778ed8210044e
treefc2727e02aa566dcdcaa5a8d7c661fb80116df6e
parent60bfda8425497a590e75a71e783de89dec9c299b
[PATCH] bcm43xx: Drain TX status before starting IRQs

Drain the Microcode TX-status-FIFO before we enable IRQs.
This is required, because the FIFO may still have entries left
from a previous run. Those would immediately fire after enabling
IRQs and would lead to an oops in the DMA TXstatus handling code.

Cc: "John W. Linville" <linville@tuxdriver.com>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/net/wireless/bcm43xx/bcm43xx_main.c