]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Oct 2016 13:21:19 +0000 (15:21 +0200)
commit58cffe3bca474afd4cbdb227d03b1bde79af8dc9
tree12db7cb5e8fcdc2c2e0587b845ea15852c37c66a
parent31bfef6edb60528e585fdd5f56dfb63e774668f0
iwlwifi: mvm: don't use ret when not initialised

commit ff6e58e648ed5f3cc43891767811d5c3c88bbd41 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c