[PATCH 1/2] nl80211-scan: add debug message for passive scanning.

greearb at candelatech.com greearb at candelatech.com
Wed Nov 4 16:49:38 PST 2015


From: Ben Greear <greearb at candelatech.com>

This is more obvious than looking for the lack of 'Scan SSID'
messages.

Signed-off-by: Ben Greear <greearb at candelatech.com>
---
 src/drivers/driver_nl80211_scan.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/drivers/driver_nl80211_scan.c b/src/drivers/driver_nl80211_scan.c
index 1a64cbe..12d4b7b 100644
--- a/src/drivers/driver_nl80211_scan.c
+++ b/src/drivers/driver_nl80211_scan.c
@@ -133,6 +133,8 @@ nl80211_scan_common(struct i802_bss *bss, u8 cmd,
 				goto fail;
 		}
 		nla_nest_end(msg, ssids);
+	} else {
+		wpa_printf(MSG_DEBUG, "nl80211: Passive Scan requested.");
 	}
 
 	i = nl80211_build_legacy_rateset(bss->adv_legacy_rates, 0, rates);
-- 
1.9.3




More information about the Hostap mailing list