diff options
author | Hante Meuleman <meuleman@broadcom.com> | 2013-06-06 13:18:00 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-12 15:02:20 -0400 |
commit | eb2410cdd92e5232e6b7e8d95cb60b9e0cea434d (patch) | |
tree | 741fcce06cc44e7676e4883f8cd2573fd557c936 | |
parent | 2747e5f7f83d215cbc9bdb66f69411ff3dedeeee (diff) | |
download | blackbird-op-linux-eb2410cdd92e5232e6b7e8d95cb60b9e0cea434d.tar.gz blackbird-op-linux-eb2410cdd92e5232e6b7e8d95cb60b9e0cea434d.zip |
brcmfmac: Fix endless loop when brcmf_fws_commit_skb fails.
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>
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c b/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c index 6255312d5986..881c0b2f7412 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c @@ -1879,7 +1879,8 @@ static void brcmf_fws_dequeue_worker(struct work_struct *worker) brcmf_fws_return_credits(fws, fifo, 1); break; } - brcmf_fws_commit_skb(fws, fifo, skb); + if (brcmf_fws_commit_skb(fws, fifo, skb)) + break; if (fws->bus_flow_blocked) break; } |