diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-rs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c index 0e8100e70620..b498b58d81fa 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c | |||
@@ -2393,6 +2393,7 @@ static void rs_free(void *priv_rate) | |||
2393 | 2393 | ||
2394 | static void rs_clear(void *priv_rate) | 2394 | static void rs_clear(void *priv_rate) |
2395 | { | 2395 | { |
2396 | #ifdef CONFIG_IWLWIFI_DEBUG | ||
2396 | struct iwl_priv *priv = (struct iwl_priv *) priv_rate; | 2397 | struct iwl_priv *priv = (struct iwl_priv *) priv_rate; |
2397 | 2398 | ||
2398 | IWL_DEBUG_RATE("enter\n"); | 2399 | IWL_DEBUG_RATE("enter\n"); |
@@ -2400,6 +2401,7 @@ static void rs_clear(void *priv_rate) | |||
2400 | /* TODO - add rate scale state reset */ | 2401 | /* TODO - add rate scale state reset */ |
2401 | 2402 | ||
2402 | IWL_DEBUG_RATE("leave\n"); | 2403 | IWL_DEBUG_RATE("leave\n"); |
2404 | #endif /* CONFIG_IWLWIFI_DEBUG */ | ||
2403 | } | 2405 | } |
2404 | 2406 | ||
2405 | static void rs_free_sta(void *priv_rate, void *priv_sta) | 2407 | static void rs_free_sta(void *priv_rate, void *priv_sta) |