aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_atheros.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-13 19:21:10 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-13 19:21:10 (GMT)
commitfcf0f87d9746033d245a75c8d224b81836e88806 (patch)
tree0ae89166f561e8f4bbbe2defafd9f545767aee94 /src/drivers/driver_atheros.c
parentf2dab64ee3fcc8e072b7d9da00b5bf5768e40200 (diff)
downloadhostap-fcf0f87d9746033d245a75c8d224b81836e88806.zip
hostap-fcf0f87d9746033d245a75c8d224b81836e88806.tar.gz
hostap-fcf0f87d9746033d245a75c8d224b81836e88806.tar.bz2
Replace hostapd_button_pushed() with generic driver event
Diffstat (limited to 'src/drivers/driver_atheros.c')
-rw-r--r--src/drivers/driver_atheros.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c
index 8759b01..7f5f930 100644
--- a/src/drivers/driver_atheros.c
+++ b/src/drivers/driver_atheros.c
@@ -847,7 +847,7 @@ madwifi_wireless_event_wireless_custom(struct madwifi_driver_data *drv,
/* PROBLEM! this event is received for ALL BSSs ...
* so all are enabled for WPS... ugh.
*/
- hostapd_button_pushed(drv->hapd);
+ wpa_supplicant_event(drv->hapd, EVENT_WPS_BUTTON_PUSHED, NULL);
} else if (strncmp(custom, "Manage.prob_req ", 16) == 0) {
/*
* Atheros driver uses a hack to pass Probe Request frames as a