]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Recognize NL80211_CMD_TRIGGER_SCAN events
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 1 Oct 2009 10:58:17 +0000 (13:58 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 1 Oct 2009 10:58:17 +0000 (13:58 +0300)
Replace "nl80211: Ignored unknown event (cmd=33)" with
"nl80211: Scan trigger" to make debug output clearer. We do not
currently do anything with this event apart from showing it in
the debug log.

src/drivers/driver_nl80211.c

index 662bf5ba37b51677a9f849bf2aa7e12687b23d55..fee6cf9d49ecc3c0d6cd30b17df90c7e17c38dff 100644 (file)
@@ -916,6 +916,9 @@ static int process_event(struct nl_msg *msg, void *arg)
        }
 
        switch (gnlh->cmd) {
+       case NL80211_CMD_TRIGGER_SCAN:
+               wpa_printf(MSG_DEBUG, "nl80211: Scan trigger");
+               break;
        case NL80211_CMD_NEW_SCAN_RESULTS:
                wpa_printf(MSG_DEBUG, "nl80211: New scan results available");
                drv->scan_complete_events = 1;