From: Eyal Shapira Date: Tue, 13 Mar 2012 18:03:21 +0000 (+0200) Subject: wl12xx: fix race between suspend/resume and recovery X-Git-Tag: v3.5-rc1~109^2~410^2~79^2^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c56dbd57f3627203f2384ae1a5e71cf41904370e;p=pandora-kernel.git wl12xx: fix race between suspend/resume and recovery The iteration on the wlvif list in wl1271_op_resume/suspend was perfomed before locking wl->mutex which would lead to a kernel panic in case a recovery was queued at the same time and would delete the wlvifs from the list. Signed-off-by: Eyal Shapira Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed