]> 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)
commit811edf6f351f8191866f8b4312f9415de405f70f
tree94517dca5fed65a13e951063c8d9e4cc605d1d3c
parent03e9db9ace8a66fa2e6e1518d88db92983ac036e
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