iwlwifi: fix driver operation for 5350
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 21 Apr 2019 14:58:11 +0000 (17:58 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sun, 28 Apr 2019 06:59:59 +0000 (09:59 +0300)
commit5c9adef9789148d382d7d1307c3d6bfaf51d143d
tree120b7162641839c49789c99d85c702bb0c454ca8
parentde1887c064b9996ac03120d90d0a909a3f678f98
iwlwifi: fix driver operation for 5350

We introduced a bug that prevented this old device from
working. The driver would simply not be able to complete
the INIT flow while spewing this warning:

 CSR addresses aren't configured
 WARNING: CPU: 0 PID: 819 at drivers/net/wireless/intel/iwlwifi/pcie/drv.c:917
 iwl_pci_probe+0x160/0x1e0 [iwlwifi]

Cc: stable@vger.kernel.org # v4.18+
Fixes: a8cbb46f831d ("iwlwifi: allow different csr flags for different device families")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Fixes: c8f1b51e506d ("iwlwifi: allow different csr flags for different device families")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/cfg/5000.c