iwlwifi: pcie: always disable L0S states
authorLuca Coelho <luciano.coelho@intel.com>
Tue, 10 Dec 2019 13:18:16 +0000 (15:18 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 23 Dec 2019 23:34:52 +0000 (01:34 +0200)
commitcc894b85abf70d40e9920976c7fadd6ded757c60
tree64f31065febbdc75faad6e5a1db1bb32d3825732
parent3d1b28fd30ab8b87c0935584aff6f9b433939d2c
iwlwifi: pcie: always disable L0S states

L0S states have been found to be unstable with our devices and in
newer hardware they are not supported at all, so we must always set
the L0S_DISABLED bit.  Previously we were only disabling L0S states if
L1 was supported, because the assumption was that transitions from L0S
to L1 state was the problematic case.  But now we should never use
L0S, so do it regardless of whether L1 is supported or not.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c