From: Arend van Spriel Date: Wed, 17 Apr 2013 19:25:58 +0000 (+0200) Subject: brcmfmac: stop dequeue upon sk_buff commit failure X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~43^2^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=047445c579dc28772aadaac6b7b37289aad72b22;p=pandora-kernel.git brcmfmac: stop dequeue upon sk_buff commit failure In the dequeue worker the function brcmf_commit_skb() is called. However, instead of increment the credit count upon success it should break the for loop upon failure. Otherwise, it will result in an endless loop. Reviewed-by: Hante Meuleman Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed