From: Juuso Oikarinen Date: Thu, 18 Nov 2010 13:19:02 +0000 (+0200) Subject: wl12xx: Fix kernel crash related to hw recovery and interface shutdown X-Git-Tag: v2.6.38-rc1~476^2~104^2~4^2~35^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6735329934e9acc1941a991ed6f6ad4be3e082a5;p=pandora-kernel.git wl12xx: Fix kernel crash related to hw recovery and interface shutdown It is possible that the op_remove_interface function is invoked exactly at the same time has hw recovery is started. In this case it is possible for the interface to be already removed in the op_remove_interface call, which currently leads to a kernel warning and a subsequent kernel crash. Fix this by ignoring the op_remove_interface call if the interface is already down at that point. Signed-off-by: Juuso Oikarinen Tested-by: Tuomas Katila Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed