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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Aug 2013 16:47:38 +0000 (09:47 -0700)
commit67bdd3c0dc4dc00fc1e708fc9f326304d88cc8be
tree35292dd3735fdc47829e9c5ae512f62d64ed1cf0
parent753fb619d10ed87c9ab5b75e83dd464244986f82
iwlwifi: pcie: disable L1 Active after pci_enable_device

commit eabc4ac5d7606a57ee2b7308cb7323ea8f60183b upstream.

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

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/pcie/trans.c