iwlwifi: lower BT coex aggregation message severity
authorJohannes Berg <johannes.berg@intel.com>
Mon, 28 Jan 2013 08:58:31 +0000 (09:58 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 1 Feb 2013 10:27:21 +0000 (11:27 +0100)
As the rate scaling algorithm will attempt to enable
aggregation over and over again, the message will
flood the log if there is, for example, Bluetooth
streaming music. Make it a debug messages instead of
printing it all the time.

Reported-by: Jan-Michael Brummer <jan.brummer@tabos.org>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/rs.c

index 2eb4277..a131227 100644 (file)
@@ -411,8 +411,9 @@ static int rs_tl_turn_on_agg_for_tid(struct iwl_priv *priv,
         * BT traffic, as they would just be disrupted by BT.
         */
        if (priv->bt_traffic_load >= IWL_BT_COEX_TRAFFIC_LOAD_HIGH) {
-               IWL_ERR(priv, "BT traffic (%d), no aggregation allowed\n",
-                       priv->bt_traffic_load);
+               IWL_DEBUG_COEX(priv,
+                              "BT traffic (%d), no aggregation allowed\n",
+                              priv->bt_traffic_load);
                return ret;
        }