WPS ER: Fix debug message for protocol run done case
This is not a failure and should not be indicated as such in the debug log.
This commit is contained in:
parent
3237bfb1a3
commit
2d5e0d78e9
1 changed files with 4 additions and 0 deletions
|
@ -1563,6 +1563,10 @@ static void wps_er_ap_process(struct wps_er_ap *ap, struct wpabuf *msg)
|
||||||
wps_deinit(ap->wps);
|
wps_deinit(ap->wps);
|
||||||
ap->wps = NULL;
|
ap->wps = NULL;
|
||||||
}
|
}
|
||||||
|
} else if (res == WPS_DONE) {
|
||||||
|
wpa_printf(MSG_DEBUG, "WPS ER: Protocol run done");
|
||||||
|
wps_deinit(ap->wps);
|
||||||
|
ap->wps = NULL;
|
||||||
} else {
|
} else {
|
||||||
wpa_printf(MSG_DEBUG, "WPS ER: Failed to process message from "
|
wpa_printf(MSG_DEBUG, "WPS ER: Failed to process message from "
|
||||||
"AP (res=%d)", res);
|
"AP (res=%d)", res);
|
||||||
|
|
Loading…
Reference in a new issue