From: Arik Nemtsov Date: Tue, 12 Mar 2013 15:19:45 +0000 (+0200) Subject: wlcore: correctly check state before regdomain conf X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~170^2^2~115^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75592be5e35b31eb28dacf578cfe82f0e9bc0ac0;p=pandora-kernel.git wlcore: correctly check state before regdomain conf The wlcore state was checked without the mutex being taken. This leads to WARN_ONs sometimes if a notification arrives when the driver is on, but the mutex is only taken after it is off. This usually happens if stopping the driver while connected to a network. Signed-off-by: Arik Nemtsov Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed