iwlwifi: pcie: Fix bug in NIC's PM registers access
authorDreyfuss, Haim <haim.dreyfuss@intel.com>
Thu, 4 Jun 2015 08:45:33 +0000 (11:45 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 8 Jul 2015 02:17:58 +0000 (05:17 +0300)
commit66337b7c67f6237720ba13f6d41b9d8dbcb59cda
treef3d511ca7a34946a113a041a21f88500d2741986
parent11828dbce6f769ed631919aa378b645b1af6bda6
iwlwifi: pcie: Fix bug in NIC's PM registers access

While cleanig the access to those hw-dependent registers,
instead of using the product family type, wrong condition was added
mistakenly and enabled 8000 family devices a forbidden access
to HW registers, fix it.

Fixes: 95411d0455cc ("iwlwifi: pcie: Control access to the NIC's PM registers via iwl_cfg")
Signed-off-by: Dreyfuss, Haim <haim.dreyfuss@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c