aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/drv_callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'hostapd/drv_callbacks.c')
-rw-r--r--hostapd/drv_callbacks.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/hostapd/drv_callbacks.c b/hostapd/drv_callbacks.c
index 29c1ee6..278b495 100644
--- a/hostapd/drv_callbacks.c
+++ b/hostapd/drv_callbacks.c
@@ -463,6 +463,9 @@ void wpa_supplicant_event(void *ctx, wpa_event_type event,
data->ft_rrb_rx.data, data->ft_rrb_rx.data_len);
break;
#endif /* CONFIG_IEEE80211R */
+ case EVENT_WPS_BUTTON_PUSHED:
+ hostapd_wps_button_pushed(hapd);
+ break;
default:
wpa_printf(MSG_DEBUG, "Unknown event %d", event);
break;
@@ -480,9 +483,3 @@ void hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa,
hapd->probereq_cb[i].cb(hapd->probereq_cb[i].ctx,
sa, ie, ie_len);
}
-
-
-void hostapd_button_pushed(struct hostapd_data *hapd)
-{
- hostapd_wps_button_pushed(hapd);
-}