P2P: Send AP mode WPS-FAIL event to parent interface
[libeap.git] / src / ap / wps_hostapd.c
index 38ac937..b2f6a78 100644 (file)
@@ -572,6 +572,8 @@ static void hostapd_wps_event_cb(void *ctx, enum wps_event event,
        case WPS_EV_ER_AP_SETTINGS:
                break;
        }
+       if (hapd->wps_event_cb)
+               hapd->wps_event_cb(hapd->wps_event_cb_ctx, event, data);
 }