iwlwifi: mvm: fix error path in iwl_mvm_mac_setup_register()
authorJohannes Berg <johannes.berg@intel.com>
Thu, 24 Jan 2019 12:26:28 +0000 (13:26 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 20 Feb 2019 18:47:55 +0000 (20:47 +0200)
commitde645e8992ef79a952cd5c7ca728f44c1c6b7ee6
tree9d6e721cc03327638c3b775cc59c5e7f7242f45f
parent6b367c9f88b0813f6a557e688b665324499a159e
iwlwifi: mvm: fix error path in iwl_mvm_mac_setup_register()

The IWL_MVM_INIT_STATUS_REG_HW_INIT_COMPLETE bit shouldn't be set,
and realistically we should complete all setup before we call the
ieee80211_register_hw() function. Fix this.

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