From: Stefan Raspl Date: Sun, 7 Apr 2013 22:19:27 +0000 (+0000) Subject: qeth: fix qeth_wait_for_threads() deadlock for OSN devices X-Git-Tag: v3.9-rc7~26^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65d8013cbdc661f9cb7645148de1facfe3d0c88a;p=pandora-kernel.git qeth: fix qeth_wait_for_threads() deadlock for OSN devices Any recovery thread will deadlock when calling qeth_wait_for_threads(), most notably when triggering a recovery on an OSN device. This patch will store the recovery thread's task pointer on recovery invocation and check in qeth_wait_for_threads() respectively to avoid deadlocks. Signed-off-by: Stefan Raspl Signed-off-by: Frank Blaschka Reviewed-by: Ursula Braun Signed-off-by: David S. Miller --- Reading git-diff-tree failed