brcmfmac: restore stopping netdev queue when bus clogs up
authorArend Van Spriel <arend.vanspriel@broadcom.com>
Fri, 15 Jul 2016 10:16:12 +0000 (12:16 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 18 Jul 2016 19:41:16 +0000 (22:41 +0300)
commit82bc9ab6a8f577d2174a736c33f3d4ecf7d9ef47
tree3a3c395f3ac39c97b0785c3ff55bef3f00f84196
parent4028a514eaa6649693be1a7cb8d2b84a8fc8cc8c
brcmfmac: restore stopping netdev queue when bus clogs up

When the host-interface bus has hard time handling transmit packets
it informs higher layer about this and it would stop the netdev
queue when needed. However, since commit 9cd18359d31e ("brcmfmac:
Make FWS queueing configurable.") this was broken. With this patch
the behaviour is restored.

Cc: stable@vger.kernel.org # v4.5, v4.6, v4.7
Fixes: 9cd18359d31e ("brcmfmac: Make FWS queueing configurable.")
Tested-by: Per Förlin <per.forlin@gmail.com>
Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c