diff options
author | Hante Meuleman <meuleman@broadcom.com> | 2013-06-06 07:18:00 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-12 15:02:20 -0400 |
commit | eb2410cdd92e5232e6b7e8d95cb60b9e0cea434d (patch) | |
tree | 741fcce06cc44e7676e4883f8cd2573fd557c936 /drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c | |
parent | 2747e5f7f83d215cbc9bdb66f69411ff3dedeeee (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c')
-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) | |||
1879 | brcmf_fws_return_credits(fws, fifo, 1); | 1879 | brcmf_fws_return_credits(fws, fifo, 1); |
1880 | break; | 1880 | break; |
1881 | } | 1881 | } |
1882 | brcmf_fws_commit_skb(fws, fifo, skb); | 1882 | if (brcmf_fws_commit_skb(fws, fifo, skb)) |
1883 | break; | ||
1883 | if (fws->bus_flow_blocked) | 1884 | if (fws->bus_flow_blocked) |
1884 | break; | 1885 | break; |
1885 | } | 1886 | } |