iwlwifi: dbg_ini: move iwl_dbg_tlv_free outside of debugfs ifdef
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Thu, 13 Jun 2019 12:11:24 +0000 (15:11 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 30 Jul 2019 16:34:17 +0000 (18:34 +0200)
commitabcbef5977df1fb61026ba429964cd6b9a085699
tree12435a318a8a07165002081f80fc1d967c42a5e0
parent072b30642f90b01d139131ec7bf763778a3a3f41
iwlwifi: dbg_ini: move iwl_dbg_tlv_free outside of debugfs ifdef

The driver should call iwl_dbg_tlv_free even if debugfs is not defined
since ini mode does not depend on debugfs ifdef.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Fixes: 68f6f492c4fa ("iwlwifi: trans: support loading ini TLVs from external file")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-drv.c