iwlwifi: avoid duplicate sw reset executions in the code
authorGolan Ben Ami <golan.ben.ami@intel.com>
Wed, 25 Oct 2017 14:02:59 +0000 (17:02 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 20 Dec 2017 16:28:24 +0000 (18:28 +0200)
commit870c2a1123b8b63be54f4c512e5d12dabec66b95
tree378bdc59f957dfeaac4ab419dbc7ea24be594efd
parentfd527eb5d2293667bfe9d9bae8eecb2967ce32f8
iwlwifi: avoid duplicate sw reset executions in the code

Most of the sw resets in the code are done by one function,
which writes to the relevant CSR.

Use the common function to perform the only reset which was
done separately, redundant to the common code.

Signed-off-by: Golan Ben Ami <golan.ben.ami@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-trans.h
drivers/net/wireless/intel/iwlwifi/mvm/utils.c
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c
drivers/net/wireless/intel/iwlwifi/pcie/trans.c