iwlwifi: fix compile error when CONFIG_MAC80211_DEBUGFS is not selected
authorZhu Yi <yi.zhu@intel.com>
Mon, 5 May 2008 02:22:46 +0000 (10:22 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2008 01:19:43 +0000 (21:19 -0400)
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>
drivers/net/wireless/iwlwifi/iwl-4965-rs.c

index b608e1c..c9847b1 100644 (file)
@@ -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,