]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
print event on scan start
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 16 Jun 2009 16:53:21 +0000 (18:53 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Tue, 16 Jun 2009 16:53:21 +0000 (18:53 +0200)
event.c

diff --git a/event.c b/event.c
index 341a7004edc02a0618aa1823851ef5717721538b..fe202eb8954cbedfb54bbf008263eb452a63950f 100644 (file)
--- 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: