]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: remove unnecessary read of PCI_CAP_ID_EXP
authorJon Mason <jdmason@kudzu.us>
Thu, 30 Jun 2011 15:42:47 +0000 (10:42 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Jul 2011 19:05:41 +0000 (15:05 -0400)
commite212761078629d65597e1d601b60ab96828ef25d
tree94517dca5fed65a13e951063c8d9e4cc605d1d3c
parent8e200c3bbbd520cee0fcbb0d2adf7aa8f4c836b8
iwlwifi: remove unnecessary read of PCI_CAP_ID_EXP

The PCIE capability offset is saved during PCI bus walking.  It will
remove an unnecessary search in the PCI configuration space if this
value is referenced instead of reacquiring it.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-pci.c