diff options
author | Johannes Berg <johannes.berg@intel.com> | 2017-06-01 12:10:32 +0200 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-08-01 12:41:43 +0300 |
commit | 235acb1894321f91c771464d90c4010a9bef90bb (patch) | |
tree | 5637d35af1b284a99f17e45186bb2a09b161a00b /drivers/net/wireless/intel/iwlwifi/mvm/ops.c | |
parent | d28ac7be15c70343cb270648e252f54d770eca6a (diff) | |
download | linux-235acb1894321f91c771464d90c4010a9bef90bb.tar.gz linux-235acb1894321f91c771464d90c4010a9bef90bb.tar.bz2 linux-235acb1894321f91c771464d90c4010a9bef90bb.zip |
iwlwifi: refactor out paging code
Refactor the paging code from mvm to be used by different opmodes.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c index 4d1188b8736a..8c49ac903c8c 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c @@ -580,6 +580,8 @@ iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg, mvm->fw = fw; mvm->hw = hw; + iwl_fw_runtime_init(&mvm->fwrt, trans, fw); + mvm->init_status = 0; if (iwl_mvm_has_new_rx_api(mvm)) { |