]> asedeno.scripts.mit.edu Git - linux.git/commit
b43: fix DMA error related regression with proprietary firmware
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 27 Aug 2018 15:34:07 +0000 (10:34 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Sep 2018 11:58:39 +0000 (14:58 +0300)
commit2823c8716c687d6c7e261a3a02b3cab43809fe9c
tree801bd3fd8f8198255a8baf1f9502833a926ad81b
parent3341ba9f0f2637a51738ef5de5114e13a1cd3eca
b43: fix DMA error related regression with proprietary firmware

In commit 66cffd6daab7 ("b43: fix transmit failure when VT is switched"),
a condition is noted where the network controller needs to be reset. Note
that this situation happens when running the open-source firmware
(http://netweb.ing.unibs.it/~openfwwf/), plus a number of other special
conditions.

for a different card model, it is reported that this change breaks
operation running the proprietary firmware
(https://marc.info/?l=linux-wireless&m=153504546924558&w=2). Rather
than reverting the previous patch, the code is tweaked to avoid the
reset unless the open-source firmware is being used.

Fixes: 66cffd6daab7 ("b43: fix transmit failure when VT is switched")
Cc: Stable <stable@vger.kernel.org> # 4.18+
Cc: Taketo Kabe <kabe@sra-tohoku.co.jp>
Reported-and-tested-by: D. Prabhu <d.praabhu@gmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/b43/dma.c