Skip to content

Commit

Permalink
iwlwifi: fix compile error when CONFIG_MAC80211_DEBUGFS is not selected
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zhu Yi authored and John W. Linville committed May 13, 2008
1 parent 78520ca commit 6243065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwlwifi/iwl-4965-rs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6243065

Please sign in to comment.