iwlwifi: mvm: don't use ret when not initialised
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Aug 2016 19:06:43 +0000 (22:06 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 29 Aug 2016 19:29:05 +0000 (22:29 +0300)
commitff6e58e648ed5f3cc43891767811d5c3c88bbd41
tree0b0de85ba4370f0741aaec18ab0bad461b369bda
parentbdc98b13716eafc454457e068d6c8aaffaaa71e4
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>
drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c