diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-10-01 13:58:17 +0300 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2009-10-01 13:58:17 +0300 |
commit | d942a79e6a9237b664e9973e11d109e2598340ab (patch) | |
tree | c061dbbbfecc539642961981d5b7247fe34a7084 /src/drivers/driver_nl80211.c | |
parent | 1066c1ee3c8a786f688a46f9d3be8ebfd27580de (diff) | |
download | external_wpa_supplicant_8_ti-d942a79e6a9237b664e9973e11d109e2598340ab.zip external_wpa_supplicant_8_ti-d942a79e6a9237b664e9973e11d109e2598340ab.tar.gz external_wpa_supplicant_8_ti-d942a79e6a9237b664e9973e11d109e2598340ab.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.
Diffstat (limited to 'src/drivers/driver_nl80211.c')
-rw-r--r-- | src/drivers/driver_nl80211.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 662bf5b..fee6cf9 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -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; |