Signed-off-by: Felix Fietkau <nbd@openwrt.org>
#include "config.h"
#include "system.h"
#include "interface.h"
+#include "wireless.h"
unsigned int debug_mask = 0;
const char *main_path = DEFAULT_MAIN_PATH;
return 1;
}
+ wireless_init();
+
if (system_init()) {
fprintf(stderr, "Failed to initialize system control\n");
return 1;
D(WIRELESS, "Add handler for script %s: %s\n", script, name);
}
-static void __init
-wireless_init_list(void)
+void wireless_init(void)
{
vlist_init(&wireless_devices, avl_strcmp, wdev_update);
wireless_devices.keep_old = true;
struct ubus_request_data *req);
void wireless_start_pending(void);
+void wireless_init(void);
#endif