commit | d9954405758a0cbbe258d9b4d4dc12a06fa48a28 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Mar 22 22:00:10 2017 +0100 |
committer | Luca Coelho <luciano.coelho@intel.com> | Mon Jun 05 21:47:07 2017 +0300 |
tree | 8b3d36bdfa53d54807a02a5dac894bb8b172e358 | |
parent | ee48b72211f844a58a06819e9ccceee6acf04b2d [diff] |
iwlwifi: tt: move ucode_loaded check under mutex The ucode_loaded check should be under the mutex, since it can otherwise change state after we looked at it and before we got the mutex. Fix that. Fixes: 5c89e7bc557e ("iwlwifi: mvm: add registration to cooling device") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>