diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-04-14 21:16:14 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-16 15:59:59 -0400 |
commit | 059ff8266104d4919c693d6bf974c9e350da513e (patch) | |
tree | 647a74a19d6f48eb1440f34f33b92a01c7ebbdf9 /drivers/net/wireless/iwlwifi/iwl4965-base.c | |
parent | 508e32e177f54d1f6ebcfa181b9d6f2583c3b1c0 (diff) | |
download | linux-059ff8266104d4919c693d6bf974c9e350da513e.tar.gz linux-059ff8266104d4919c693d6bf974c9e350da513e.tar.bz2 linux-059ff8266104d4919c693d6bf974c9e350da513e.zip |
iwlwifi: move shared pointers to iwl_priv
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 1f343409c904..5ec0af4788e4 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c @@ -1219,11 +1219,11 @@ static int iwl4965_send_beacon_cmd(struct iwl_priv *priv) static void iwl4965_unset_hw_setting(struct iwl_priv *priv) { - if (priv->hw_setting.shared_virt) + if (priv->shared_virt) pci_free_consistent(priv->pci_dev, sizeof(struct iwl4965_shared), - priv->hw_setting.shared_virt, - priv->hw_setting.shared_phys); + priv->shared_virt, + priv->shared_phys); } /** |