aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-10-01 10:58:17 (GMT)
committerJouni Malinen <j@w1.fi>2009-11-22 19:01:42 (GMT)
commitdfd0188ed6ca5184cf5dc74379e940f5bc079439 (patch)
treec2d947858ebba4b84c1ce35544fce4ce0b76d419 /src
parent9329344a9e9a9bfe685592fa3c193924b002ff73 (diff)
downloadhostap-06-dfd0188ed6ca5184cf5dc74379e940f5bc079439.zip
hostap-06-dfd0188ed6ca5184cf5dc74379e940f5bc079439.tar.gz
hostap-06-dfd0188ed6ca5184cf5dc74379e940f5bc079439.tar.bz2
nl80211: Recognize NL80211_CMD_TRIGGER_SCAN events
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. (cherry picked from commit d942a79e6a9237b664e9973e11d109e2598340ab)
Diffstat (limited to 'src')
-rw-r--r--src/drivers/driver_nl80211.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index 4f99c32..f274525 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -982,6 +982,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;