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.2.3~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bc34a5c5c4e8015f24c97da3876374e5a610e79;p=pandora-kernel.git brcmsmac: fix tx queue flush infinite loop commit f96b08a7e6f69c0f0a576554df3df5b1b519c479 upstream. 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 Signed-off-by: Stanislaw Gruszka Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed