From: Wey-Yi Guy Date: Thu, 22 Sep 2011 22:14:51 +0000 (-0700) Subject: iwlagn: add debugging to show probe related info in scan notification X-Git-Tag: MMI-PSA29.97-13-9~18194^2~183^2~17 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1895b36bfb6165feb8f0b2060114632e46798dfe;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git iwlagn: add debugging to show probe related info in scan notification Add debugging to show the status of probe in scan notification to help debug probe related issues Signed-off-by: Wey-Yi Guy Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c index 2b6db24daf70..07af6ec8d9d2 100644 --- a/drivers/net/wireless/iwlwifi/iwl-scan.c +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c @@ -242,10 +242,12 @@ static int iwl_rx_scan_results_notif(struct iwl_priv *priv, IWL_DEBUG_SCAN(priv, "Scan ch.res: " "%d [802.11%s] " + "probe status: %u:%u " "(TSF: 0x%08X:%08X) - %d " "elapsed=%lu usec\n", notif->channel, notif->band ? "bg" : "a", + notif->probe_status, notif->num_probe_not_sent, le32_to_cpu(notif->tsf_high), le32_to_cpu(notif->tsf_low), le32_to_cpu(notif->statistics[0]),