diff options
author | Zhu Yi <yi.zhu@intel.com> | 2007-09-26 23:27:39 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:53:24 -0400 |
commit | 588263515fecd926ea82950e5b7752b8696b595c (patch) | |
tree | 5702516260eb9b00f49acb8e31f312ad83721332 /drivers/net/wireless/iwlwifi/iwl-4965-rs.c | |
parent | 5ae212c9273deb417bcc458d1dfb54ef880e5516 (diff) |
[PATCH] iwlwifi: limit printouts on hot path
This patch change printouts on TX path to the net_ratelimit version.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965-rs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-rs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c index e3a0ccaf71fe..b9d7ad8b70e5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c | |||
@@ -622,7 +622,7 @@ static void rs_tx_status(void *priv_rate, | |||
622 | u16 fc = le16_to_cpu(hdr->frame_control); | 622 | u16 fc = le16_to_cpu(hdr->frame_control); |
623 | s32 tpt = 0; | 623 | s32 tpt = 0; |
624 | 624 | ||
625 | IWL_DEBUG_RATE("get frame ack response, update rate scale window\n"); | 625 | IWL_DEBUG_RATE_LIMIT("get frame ack response, update rate scale window\n"); |
626 | 626 | ||
627 | if (!ieee80211_is_data(fc) || is_multicast_ether_addr(hdr->addr1)) | 627 | if (!ieee80211_is_data(fc) || is_multicast_ether_addr(hdr->addr1)) |
628 | return; | 628 | return; |
@@ -1717,7 +1717,7 @@ static struct ieee80211_rate *rs_get_rate(void *priv_rate, | |||
1717 | struct iwl_priv *priv = (struct iwl_priv *)priv_rate; | 1717 | struct iwl_priv *priv = (struct iwl_priv *)priv_rate; |
1718 | struct iwl_rate_scale_priv *lq; | 1718 | struct iwl_rate_scale_priv *lq; |
1719 | 1719 | ||
1720 | IWL_DEBUG_RATE("rate scale calculate new rate for skb\n"); | 1720 | IWL_DEBUG_RATE_LIMIT("rate scale calculate new rate for skb\n"); |
1721 | 1721 | ||
1722 | memset(extra, 0, sizeof(*extra)); | 1722 | memset(extra, 0, sizeof(*extra)); |
1723 | 1723 | ||