iwlagn: reduce severity of disconnected antennas warning
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 18 Jun 2010 23:40:21 +0000 (16:40 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Fri, 25 Jun 2010 22:20:41 +0000 (15:20 -0700)
This message is encountered regularly and we need to take a closer look at
the circumstances under which it is printed before presenting errors to
users.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-calib.c

index 400eb312b5554064826ab681e5caaad4a102c4b9..eb052b05e790498da4062a3ed17fb030ae18fff8 100644 (file)
@@ -843,10 +843,10 @@ void iwl_chain_noise_calibration(struct iwl_priv *priv,
 
        if (active_chains != priv->hw_params.valid_rx_ant &&
            active_chains != priv->chain_noise_data.active_chains)
-               IWL_WARN(priv,
-                        "Detected that not all antennas are connected! "
-                        "Connected: %#x, valid: %#x.\n",
-                        active_chains, priv->hw_params.valid_rx_ant);
+               IWL_DEBUG_CALIB(priv,
+                               "Detected that not all antennas are connected! "
+                               "Connected: %#x, valid: %#x.\n",
+                               active_chains, priv->hw_params.valid_rx_ant);
 
        /* Save for use within RXON, TX, SCAN commands, etc. */
        priv->chain_noise_data.active_chains = active_chains;