commit | 75592be5e35b31eb28dacf578cfe82f0e9bc0ac0 | [log] [tgz] |
---|---|---|
author | Arik Nemtsov <arik@wizery.com> | Tue Mar 12 17:19:45 2013 +0200 |
committer | Luciano Coelho <coelho@ti.com> | Mon Mar 25 12:33:13 2013 +0200 |
tree | ae3e76a49dc4e6907ab2c71c60011774c51ea59b | |
parent | 0e752df6fda25993acc30e1162808fbb2543be03 [diff] |
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 <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>