diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2016-08-03 22:06:43 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2016-08-29 22:29:05 +0300 |
commit | ff6e58e648ed5f3cc43891767811d5c3c88bbd41 (patch) | |
tree | 0b0de85ba4370f0741aaec18ab0bad461b369bda /drivers/net | |
parent | bdc98b13716eafc454457e068d6c8aaffaaa71e4 (diff) | |
download | linux-ff6e58e648ed5f3cc43891767811d5c3c88bbd41.tar.xz |
iwlwifi: mvm: don't use ret when not initialised
fw-dbg code return ret but that variable was either 0
or not initialised. Return 0 always.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Fixes: 6a95126763fb ("iwlwifi: mvm: send dbg config hcmds to fw if set in tlv")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c b/drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c index 1abcabb9b6cd..46b52bf705fb 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c @@ -960,5 +960,6 @@ int iwl_mvm_start_fw_dbg_conf(struct iwl_mvm *mvm, u8 conf_id) } mvm->fw_dbg_conf = conf_id; - return ret; + + return 0; } |