Commit eb2410cd authored by Hante Meuleman's avatar Hante Meuleman Committed by John W. Linville

brcmfmac: Fix endless loop when brcmf_fws_commit_skb fails.

Reviewed-by: default avatarArend Van Spriel <arend@broadcom.com>
Signed-off-by: default avatarHante Meuleman <meuleman@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 2747e5f7
...@@ -1879,7 +1879,8 @@ static void brcmf_fws_dequeue_worker(struct work_struct *worker) ...@@ -1879,7 +1879,8 @@ static void brcmf_fws_dequeue_worker(struct work_struct *worker)
brcmf_fws_return_credits(fws, fifo, 1); brcmf_fws_return_credits(fws, fifo, 1);
break; break;
} }
brcmf_fws_commit_skb(fws, fifo, skb); if (brcmf_fws_commit_skb(fws, fifo, skb))
break;
if (fws->bus_flow_blocked) if (fws->bus_flow_blocked)
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment