diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2014-11-10 16:21:55 -0500 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-11-23 13:08:30 -0500 |
commit | cc4c1ab5d22b22b945141edcbb74d0ab8caecbad (patch) | |
tree | b2987e1481d3f03125a35da683be9417872d89db /drivers/net/wireless/iwlwifi/mvm/ops.c | |
parent | 522713c81e4ec98c554d74bcf8c26ddbfa6a30ee (diff) |
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/ops.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/ops.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/ops.c b/drivers/net/wireless/iwlwifi/mvm/ops.c index 5ab10fb9d672..b022fc097e78 100644 --- a/drivers/net/wireless/iwlwifi/mvm/ops.c +++ b/drivers/net/wireless/iwlwifi/mvm/ops.c | |||
@@ -597,8 +597,6 @@ static void iwl_op_mode_mvm_stop(struct iwl_op_mode *op_mode) | |||
597 | kfree(mvm->nd_config->match_sets); | 597 | kfree(mvm->nd_config->match_sets); |
598 | kfree(mvm->nd_config); | 598 | kfree(mvm->nd_config); |
599 | mvm->nd_config = NULL; | 599 | mvm->nd_config = NULL; |
600 | kfree(mvm->nd_ies); | ||
601 | mvm->nd_ies = NULL; | ||
602 | } | 600 | } |
603 | #endif | 601 | #endif |
604 | 602 | ||