aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_atheros.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-11-29 16:18:02 (GMT)
committerJouni Malinen <j@w1.fi>2009-11-29 16:18:02 (GMT)
commit0c3abf8d22e32d1418c9b6de60824ee2a86f3453 (patch)
tree6c210d696ee39de5b67b62706338e5abeeefa214 /src/drivers/driver_atheros.c
parentb8be7f5c0313982af8e41b89a895580b7576a515 (diff)
downloadhostap-0c3abf8d22e32d1418c9b6de60824ee2a86f3453.zip
hostap-0c3abf8d22e32d1418c9b6de60824ee2a86f3453.tar.gz
hostap-0c3abf8d22e32d1418c9b6de60824ee2a86f3453.tar.bz2
Add driver wrapper callback for WPS push button pressed
This avoids the need to include ../hostapd/wps_hostapd.h into the driver wrappers.
Diffstat (limited to 'src/drivers/driver_atheros.c')
-rw-r--r--src/drivers/driver_atheros.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c
index 3e1342a..1de3a71 100644
--- a/src/drivers/driver_atheros.c
+++ b/src/drivers/driver_atheros.c
@@ -65,8 +65,6 @@
#include "eloop.h"
#include "priv_netlink.h"
#include "l2_packet/l2_packet.h"
-
-#include "../hostapd/wps_hostapd.h"
#include "common/ieee802_11_defs.h"
@@ -849,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_wps_button_pushed(drv->hapd);
+ hostapd_button_pushed(drv->hapd);
} else if (strncmp(custom, "Manage.prob_req ", 16) == 0) {
/*
* Atheros driver uses a hack to pass Probe Request frames as a