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.
This commit is contained in:
parent
1066c1ee3c
commit
d942a79e6a
1 changed files with 3 additions and 0 deletions
|
@ -916,6 +916,9 @@ static int process_event(struct nl_msg *msg, void *arg)
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (gnlh->cmd) {
|
switch (gnlh->cmd) {
|
||||||
|
case NL80211_CMD_TRIGGER_SCAN:
|
||||||
|
wpa_printf(MSG_DEBUG, "nl80211: Scan trigger");
|
||||||
|
break;
|
||||||
case NL80211_CMD_NEW_SCAN_RESULTS:
|
case NL80211_CMD_NEW_SCAN_RESULTS:
|
||||||
wpa_printf(MSG_DEBUG, "nl80211: New scan results available");
|
wpa_printf(MSG_DEBUG, "nl80211: New scan results available");
|
||||||
drv->scan_complete_events = 1;
|
drv->scan_complete_events = 1;
|
||||||
|
|
Loading…
Reference in a new issue