From: Stanislaw Gruszka Date: Tue, 17 Jan 2012 11:38:50 +0000 (+0100) Subject: brcmsmac: fix tx queue flush infinite loop X-Git-Tag: v3.3-rc2~37^2~62^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f96b08a7e6f69c0f0a576554df3df5b1b519c479;p=pandora-kernel.git brcmsmac: fix tx queue flush infinite loop This patch workaround live deadlock problem caused by infinite loop in brcms_c_wait_for_tx_completion(). I do not consider the patch as the proper fix, which should fix the real reason of tx queue flush failure, but patch helps with system lockup. Reference: https://bugzilla.kernel.org/show_bug.cgi?id=42576 Reported-and-tested-by: Patrick Cc: stable@vger.kernel.org # 3.2+ Signed-off-by: Stanislaw Gruszka Signed-off-by: John W. Linville --- Reading git-diff-tree failed