summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-pci.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2012-03-26 17:57:01 +0200
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2012-04-18 16:30:42 +0200
commit035f7ff27dcfadcb6028de1bbb5d17d49ea8d804 (patch)
tree9b3400fe1494c07cf540aa1292c1278afdbcbbb0 /drivers/net/wireless/iwlwifi/iwl-pci.c
parentiwlwifi: driver holds its pointer to the config (diff)
downloadlinux-035f7ff27dcfadcb6028de1bbb5d17d49ea8d804.tar.xz
linux-035f7ff27dcfadcb6028de1bbb5d17d49ea8d804.zip
iwlwifi: transport holds its pointer to the config
Instead of using the shared area that we be killed. Remove the pointer to config from shared since it is not used any more. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-pci.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-pci.c b/drivers/net/wireless/iwlwifi/iwl-pci.c
index 00a6dda984be..68974a996136 100644
--- a/drivers/net/wireless/iwlwifi/iwl-pci.c
+++ b/drivers/net/wireless/iwlwifi/iwl-pci.c
@@ -281,7 +281,7 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
goto out_free_bus;
}
- iwl_trans = iwl_trans_pcie_alloc(shrd, pdev, ent);
+ iwl_trans = iwl_trans_pcie_alloc(shrd, pdev, ent, cfg);
if (iwl_trans == NULL) {
err = -ENOMEM;
goto out_free_bus;