From: Johannes Berg Date: Tue, 16 Jun 2009 16:53:21 +0000 (+0200) Subject: print event on scan start X-Git-Tag: v0.9.15~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e67be81550a52dfc04fa7c3167824f0fd62eb627;p=thirdparty%2Fiw.git print event on scan start --- diff --git a/event.c b/event.c index 341a700..fe202eb 100644 --- a/event.c +++ b/event.c @@ -105,6 +105,9 @@ static int print_event(struct nl_msg *msg, void *arg) case NL80211_CMD_NEW_WIPHY: printf("renamed to %s\n", nla_get_string(tb[NL80211_ATTR_WIPHY_NAME])); break; + case NL80211_CMD_TRIGGER_SCAN: + printf("scan started\n"); + break; case NL80211_CMD_NEW_SCAN_RESULTS: printf("scan finished:"); case NL80211_CMD_SCAN_ABORTED: