]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: Fix error: struct iwl_lq_sta has no member named dbg_fixed_rate
authorSedat Dilek <sedat.dilek@googlemail.com>
Thu, 16 Dec 2010 11:46:23 +0000 (12:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Dec 2010 14:47:02 +0000 (09:47 -0500)
commit7121956498684fcfe63e36076275b576a4c34116
tree292e3e0b7dd9aee05e021d14630ce1cbf0e11ce1
parentcd9d66148de578db4654bcaa1f8ab665bddc66d3
iwlwifi: Fix error: struct iwl_lq_sta has no member named dbg_fixed_rate

While compiling linux-next (next-20101216) I fell over this breakage:
...
drivers/net/wireless/iwlwifi/iwl-agn-rs.c: In function ‘iwl_rs_rate_init’:
drivers/net/wireless/iwlwifi/iwl-agn-rs.c:2876:8: error: ‘struct iwl_lq_sta’ has no member named ‘dbg_fixed_rate’

dbg_fixed_rate is only used when CONFIG_MAC80211_DEBUGFS is set:

[ drivers/net/wireless/iwlwifi/iwl-agn-rs.h ]
...
 #ifdef CONFIG_MAC80211_DEBUGFS
       struct dentry *rs_sta_dbgfs_scale_table_file;
       struct dentry *rs_sta_dbgfs_stats_table_file;
       struct dentry *rs_sta_dbgfs_rate_scale_data_file;
       struct dentry *rs_sta_dbgfs_tx_agg_tid_en_file;
       u32 dbg_fixed_rate;
 #endif

The issue was introduced by commit cf953a0f0f3ece9bc7f684b8f18c3fe2f79490c9:
"iwlwifi: clear dbg_fixed_rate during init"

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c