iwlwifi: refactor NIC init sequence
authorJohannes Berg <johannes.berg@intel.com>
Mon, 10 Dec 2018 08:27:47 +0000 (09:27 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 4 Feb 2019 10:28:09 +0000 (12:28 +0200)
commitc96b5eec2105ccb6a956c8da6bb6deb670ebaf43
tree927b2e81d2ca901bbe6fd10bc7c7b73169bcc32c
parentb8a7547d77782ba1d403f2417be9453a3a256e14
iwlwifi: refactor NIC init sequence

The typical sequence of setting INIT_DONE and then waiting
for clock stabilisation is going to need a new workarounds,
so first of all refactor it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-eeprom-read.c
drivers/net/wireless/intel/iwlwifi/iwl-io.c
drivers/net/wireless/intel/iwlwifi/iwl-io.h
drivers/net/wireless/intel/iwlwifi/mvm/utils.c
drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c
drivers/net/wireless/intel/iwlwifi/pcie/trans.c