]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/2.6.33.2/iwlwifi-silence-tfds_in_queue-message.patch
5.0-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 2.6.33.2 / iwlwifi-silence-tfds_in_queue-message.patch
1 From c8406ea8fa1adde8dc5400127281d497bbcdb84a Mon Sep 17 00:00:00 2001
2 From: Adel Gadllah <adel.gadllah@gmail.com>
3 Date: Sun, 14 Mar 2010 19:16:25 +0100
4 Subject: iwlwifi: Silence tfds_in_queue message
5
6 From: Adel Gadllah <adel.gadllah@gmail.com>
7
8 commit c8406ea8fa1adde8dc5400127281d497bbcdb84a upstream.
9
10 Commit a239a8b47cc0e5e6d7416a89f340beac06d5edaa introduced a
11 noisy message, that fills up the log very fast.
12
13 The error seems not to be fatal (the connection is stable and
14 performance is ok), so make it IWL_DEBUG_TX rather than IWL_ERR.
15
16 Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com>
17 Acked-by: Reinette Chatre <reinette.chatre@intel.com>
18 Signed-off-by: John W. Linville <linville@tuxdriver.com>
19 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20
21 ---
22 drivers/net/wireless/iwlwifi/iwl-tx.c | 2 +-
23 1 file changed, 1 insertion(+), 1 deletion(-)
24
25 --- a/drivers/net/wireless/iwlwifi/iwl-tx.c
26 +++ b/drivers/net/wireless/iwlwifi/iwl-tx.c
27 @@ -127,7 +127,7 @@ void iwl_free_tfds_in_queue(struct iwl_p
28 if (priv->stations[sta_id].tid[tid].tfds_in_queue >= freed)
29 priv->stations[sta_id].tid[tid].tfds_in_queue -= freed;
30 else {
31 - IWL_ERR(priv, "free more than tfds_in_queue (%u:%d)\n",
32 + IWL_DEBUG_TX(priv, "free more than tfds_in_queue (%u:%d)\n",
33 priv->stations[sta_id].tid[tid].tfds_in_queue,
34 freed);
35 priv->stations[sta_id].tid[tid].tfds_in_queue = 0;