iwlwifi: pcie: disable L1 Active after pci_enable_device
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 29 Jul 2013 20:05:18 +0000 (23:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 31 Jul 2013 06:56:34 +0000 (08:56 +0200)
commiteabc4ac5d7606a57ee2b7308cb7323ea8f60183b
treec4248cd34d984d081d260d097d7ef1172886e46b
parent9186a1fd9ed190739423db84bc344d258ef3e3d7
iwlwifi: pcie: disable L1 Active after pci_enable_device

As Arjan pointed out, we mustn't do anything related to PCI
configuration until the device is properly enabled with
pci_enable_device().

Cc: stable@vger.kernel.org
Reported-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c