wl12xx: Fix kernel crash related to hw recovery and interface shutdown
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 <ca26352903febfd849f64e9b2ceb5c3c9e1e8619@nokia.com>
Tested-by: Tuomas Katila <c52b91f77c15db9da8260dbcb28783bc43d34a63@nokia.com>
Signed-off-by: Luciano Coelho <48024ebf6407f04843f8b4062a045f41623c6d61@nokia.com>

TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs