diff options
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/driver.h | 3 | ||||
-rw-r--r-- | src/drivers/drivers.c | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/drivers/driver.h b/src/drivers/driver.h index eecb736..b4442be 100644 --- a/src/drivers/driver.h +++ b/src/drivers/driver.h @@ -3803,4 +3803,7 @@ void wpa_scan_results_free(struct wpa_scan_results *res); /* Convert wpa_event_type to a string for logging */ const char * event_to_string(enum wpa_event_type event); +/* NULL terminated array of linked in driver wrappers */ +extern struct wpa_driver_ops *wpa_drivers[]; + #endif /* DRIVER_H */ diff --git a/src/drivers/drivers.c b/src/drivers/drivers.c index 04eb4fd..446ab63 100644 --- a/src/drivers/drivers.c +++ b/src/drivers/drivers.c @@ -6,8 +6,9 @@ * See README for more details. */ -#include "includes.h" - +#include "utils/includes.h" +#include "utils/common.h" +#include "driver.h" #ifdef CONFIG_DRIVER_WEXT extern struct wpa_driver_ops wpa_driver_wext_ops; /* driver_wext.c */ |