iwlwifi: pcie: prepare the device before accessing it
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 4 Jun 2015 08:09:47 +0000 (11:09 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 12 Jul 2015 16:54:00 +0000 (19:54 +0300)
commitf9e5554cd8ca1d1212ec922755b397a20f737923
tree86a3bfa9a89380d4aa026ea3caf0ae531c443eae
parentaf3f2f740173f8b5c61dba46f900998c5984ccd9
iwlwifi: pcie: prepare the device before accessing it

For 8000 series, we need to access the device to know what
firmware to load. Before we do so, we need to prepare the
device otherwise we might not be able to access the
hardware.

Fixes: c278754a21e6 ("iwlwifi: mvm: support family 8000 B2/C steps")
CC: <stable@vger.kernel.org> [4.1]
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c