diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-09-22 18:14:51 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-27 14:34:07 -0400 |
commit | 1895b36bfb6165feb8f0b2060114632e46798dfe (patch) | |
tree | 5c2f4f08acfa4762290ed7a19325e83c717e469a /drivers/net | |
parent | 02dc84fe18482badbc8f2e45174d1147f8ebde0a (diff) |
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 <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-scan.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, | |||
242 | 242 | ||
243 | IWL_DEBUG_SCAN(priv, "Scan ch.res: " | 243 | IWL_DEBUG_SCAN(priv, "Scan ch.res: " |
244 | "%d [802.11%s] " | 244 | "%d [802.11%s] " |
245 | "probe status: %u:%u " | ||
245 | "(TSF: 0x%08X:%08X) - %d " | 246 | "(TSF: 0x%08X:%08X) - %d " |
246 | "elapsed=%lu usec\n", | 247 | "elapsed=%lu usec\n", |
247 | notif->channel, | 248 | notif->channel, |
248 | notif->band ? "bg" : "a", | 249 | notif->band ? "bg" : "a", |
250 | notif->probe_status, notif->num_probe_not_sent, | ||
249 | le32_to_cpu(notif->tsf_high), | 251 | le32_to_cpu(notif->tsf_high), |
250 | le32_to_cpu(notif->tsf_low), | 252 | le32_to_cpu(notif->tsf_low), |
251 | le32_to_cpu(notif->statistics[0]), | 253 | le32_to_cpu(notif->statistics[0]), |