Commit df50f756 authored by Committed by John W. LinvilleBrowse files
brcmfmac: Take bus flowcontrol at credit mgmt into account.
On bus flow control (no more host bus resources to send packets to device) the netif flow control was toggled, however credit management should also take this status into account. Since there are multiple sources handling this flow control necessary spinlocks were added to protect flow control related data/states. Reviewed-by: Arend Van Spriel <firstname.lastname@example.org> Reviewed-by: Franky (Zhenhui) Lin <email@example.com> Reviewed-by: Pieter-Paul Giesberts <firstname.lastname@example.org> Signed-off-by: Hante Meuleman <email@example.com> Signed-off-by: Arend van Spriel <firstname.lastname@example.org> Signed-off-by: John W. Linville <email@example.com>