aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_wext.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/driver_wext.c')
-rw-r--r--src/drivers/driver_wext.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/driver_wext.c b/src/drivers/driver_wext.c
index bd37ca1..701b7a3 100644
--- a/src/drivers/driver_wext.c
+++ b/src/drivers/driver_wext.c
@@ -40,6 +40,11 @@ static int wpa_driver_wext_get_range(void *priv);
static int wpa_driver_wext_finish_drv_init(struct wpa_driver_wext_data *drv);
static void wpa_driver_wext_disconnect(struct wpa_driver_wext_data *drv);
static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg);
+#ifdef ANDROID
+extern int wpa_driver_wext_driver_cmd(void *priv, char *cmd, char *buf,
+ size_t buf_len);
+extern int wpa_driver_signal_poll(void *priv, struct wpa_signal_info *si);
+#endif
int wpa_driver_wext_set_auth_param(struct wpa_driver_wext_data *drv,
@@ -2498,5 +2503,7 @@ const struct wpa_driver_ops wpa_driver_wext_ops = {
#ifdef ANDROID
.sched_scan = wext_sched_scan,
.stop_sched_scan = wext_stop_sched_scan,
+ .signal_poll = wpa_driver_signal_poll,
+ .driver_cmd = wpa_driver_wext_driver_cmd,
#endif /* ANDROID */
};