forked from Minki/linux
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>
This commit is contained in:
parent
2747e5f7f8
commit
eb2410cdd9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user