iwlagn: add debugging to show probe related info in scan notification
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 22 Sep 2011 22:14:51 +0000 (15:14 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Sep 2011 18:34:07 +0000 (14:34 -0400)
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>
drivers/net/wireless/iwlwifi/iwl-scan.c

index 2b6db24daf70d6b04b5a6f5fb4e6925751942a39..07af6ec8d9d23acf19d2202684f2a7f18cb24a3b 100644 (file)
@@ -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]),