iwlwifi: mvm: convert ucode_loaded to a status bit
authorJohannes Berg <johannes.berg@intel.com>
Wed, 22 Mar 2017 21:10:36 +0000 (22:10 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 5 Jun 2017 20:34:27 +0000 (23:34 +0300)
commit65b280fe9bde124587f9ca290404515d52513b3f
tree1077ad1bda976ca678840e9ed43a932b79d6e94f
parentaab6930d30d5176fe1ff38fe051a9fca2cac066d
iwlwifi: mvm: convert ucode_loaded to a status bit

Convert ucode_loaded to a status bit called FIRMWARE_RUNNING.
This will make it easier to clear this earlier, to avoid any
spurious accesses while shutting down, for example through
debugfs.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h