diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2014-11-10 22:21:55 +0100 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-11-23 19:08:30 +0100 |
commit | cc4c1ab5d22b22b945141edcbb74d0ab8caecbad (patch) | |
tree | b2987e1481d3f03125a35da683be9417872d89db /drivers/net/wireless/iwlwifi/mvm/d3.c | |
parent | iwlwifi: pcie: properly reset the device (diff) | |
download | linux-cc4c1ab5d22b22b945141edcbb74d0ab8caecbad.tar.xz linux-cc4c1ab5d22b22b945141edcbb74d0ab8caecbad.zip |
iwlwifi: mvm: make nd_ies part of the mvm struct
Instead of allocating nd_ies separately, make it part of the iwl_mvm
structure so it's easier to handle its lifetime.
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/d3.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/d3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/d3.c b/drivers/net/wireless/iwlwifi/mvm/d3.c index faa7d5c365d5..0fc72fc6ce2f 100644 --- a/drivers/net/wireless/iwlwifi/mvm/d3.c +++ b/drivers/net/wireless/iwlwifi/mvm/d3.c @@ -1036,7 +1036,7 @@ static int __iwl_mvm_suspend(struct ieee80211_hw *hw, goto out; ret = iwl_mvm_scan_offload_start(mvm, vif, mvm->nd_config, - mvm->nd_ies); + &mvm->nd_ies); if (ret) goto out; } else { |