brcmfmac: Always use fifo_credits, also for requested credits.
authorHante Meuleman <meuleman@broadcom.com>
Thu, 6 Jun 2013 11:18:03 +0000 (13:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Jun 2013 19:07:43 +0000 (15:07 -0400)
commitfa587d4b2f968b3719190a668a8707989855228d
tree9d84b4635a80073ffdfdbbec6641af8ac4be13e1
parentd5346171d721bcfaab5843bf996ac6a379f7bd93
brcmfmac: Always use fifo_credits, also for requested credits.

Currently firmware requested credits do not require fifo credits.
From a buffer management point of view this is incorrect. So
firwmware requested credits require also fifo credits before the
packet can be transferred to the host.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.c
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.h
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c