nl80211: Add debug message for passive scanning
authorBen Greear <greearb@candelatech.com>
Thu, 5 Nov 2015 00:49:38 +0000 (19:49 -0500)
committerJouni Malinen <j@w1.fi>
Sun, 15 Nov 2015 17:20:35 +0000 (19:20 +0200)
This is more obvious than looking for the lack of 'Scan SSID' messages.

Signed-off-by: Ben Greear <greearb@candelatech.com>
src/drivers/driver_nl80211_scan.c

index 966c3fb..dd1993c 100644 (file)
@@ -132,6 +132,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");
        }
 
        if (params->extra_ies) {