iwlwifi: pcie: wait longer after device reset
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 27 Jun 2017 09:29:26 +0000 (12:29 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 29 Jun 2017 18:02:51 +0000 (21:02 +0300)
commit099a628bf6d9bb1d66cc0383f97cea19cfa4aacc
treefa7892fc9ef80b0898b0fc6faba4d6b79633ec25
parent52b6e168ae579483d71621e4d64d6491e8973e91
iwlwifi: pcie: wait longer after device reset

The newest devices need a longer time to reset because of
their more complex hardware. Wait 5ms after device reset.
Consolidate all the places that reset the device in the
PCIe transport to avoid future bugs.

While at it, unify the flow to use set_bit instead of full
write as requested by the hardware designers.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
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