iwlagn: dbg_fixed_rate only used when CONFIG_MAC80211_DEBUGFS enabled
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 20 May 2011 18:56:18 +0000 (11:56 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 May 2011 19:39:30 +0000 (15:39 -0400)
commit54a430c0a4991951805df92efb8c42bdb1277ffd
tree70f2bc3193faf754dcd05fe3df93a71adfddcd96
parentc6e38c06cb51bee42ff80a36a0f7c67b485c4541
iwlagn: dbg_fixed_rate only used when CONFIG_MAC80211_DEBUGFS enabled

Fix compiling error when CONFIG_MAC80211_DEBUGFS is not enabled
drivers/net/wireless/iwlwifi/iwl-agn-rs.c:351: error: 'struct iwl_lq_sta' has no member named 'dbg_fixed_rate'
drivers/net/wireless/iwlwifi/iwl-agn-rs.c:1076: error: 'struct iwl_lq_sta' has no member named 'dbg_fixed_rate'

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c