diff options
author | Zhu Yi <yi.zhu@intel.com> | 2008-05-05 10:22:46 +0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-12 21:19:43 -0400 |
commit | 6243065d308ab566aa318a8adef853bc0418896d (patch) | |
tree | 9ac2a3b0ff17f396141da82b8f3271b0a5631e73 /drivers | |
parent | 78520cad4b222d81fa18f2dcfa52394d8d1722b0 (diff) | |
download | linux-6243065d308ab566aa318a8adef853bc0418896d.tar.gz linux-6243065d308ab566aa318a8adef853bc0418896d.tar.bz2 linux-6243065d308ab566aa318a8adef853bc0418896d.zip |
iwlwifi: fix compile error when CONFIG_MAC80211_DEBUGFS is not selected
Make iwl4965_lq_sta->drv available even without CONFIG_MAC80211_DEBUGFS.
Signed-off-by: Yi Zhu <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-rs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c index b608e1ca8b40..c9847b1a67f7 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c @@ -163,8 +163,8 @@ struct iwl4965_lq_sta { struct dentry *rs_sta_dbgfs_tx_agg_tid_en_file; #endif struct iwl4965_rate dbg_fixed; - struct iwl_priv *drv; #endif + struct iwl_priv *drv; }; static void rs_rate_scale_perform(struct iwl_priv *priv, |