]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit18323c964ebd8f2027f2cc39759468f282215132
tree378bdc59f957dfeaac4ab419dbc7ea24be594efd
parentc09cdf507e3bb3760f38939885324551f5e344cb
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