summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-debugfs.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-04-15 16:01:38 -0700
committerJohn W. Linville <linville@tuxdriver.com>2008-04-16 16:00:00 -0400
commit5425e490471d521bae2fce16d22995803b41d90f (patch)
tree96d827e8c17d3d5469ec0da05208e2c5730f085d /drivers/net/wireless/iwlwifi/iwl-debugfs.c
parent49ea85961cf8b60b5387cc1c1bc06fe4b6a31ee4 (diff)
downloadlinux-5425e490471d521bae2fce16d22995803b41d90f.tar.gz
linux-5425e490471d521bae2fce16d22995803b41d90f.tar.bz2
linux-5425e490471d521bae2fce16d22995803b41d90f.zip
iwlwifi: hw_setting cleanup
1. This patch renames hw_setting to hw_params 2. Align names of the structure and variables 3. set_hw_params is called from libs_ops 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/iwl-debugfs.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-debugfs.c
index cbea477eb078..0f16f2606f29 100644
--- a/drivers/net/wireless/iwlwifi/iwl-debugfs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-debugfs.c
@@ -207,7 +207,7 @@ static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf,
{
struct iwl_priv *priv = (struct iwl_priv *)file->private_data;
struct iwl4965_station_entry *station;
- int max_sta = priv->hw_setting.max_stations;
+ int max_sta = priv->hw_params.max_stations;
char *buf;
int i, j, pos = 0;
ssize_t ret;