diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-07 18:49:43 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-07 18:49:43 +0100 |
commit | a565ae60a2fd6aea1fb64a8a3728d101ab2357c3 (patch) | |
tree | 6e2d13dbc9bde4b4c0336bd7da5fe0840f419344 /wireless.c | |
parent | 4d1a597f65bbb49aa843112812d5ca929478c706 (diff) |
wireless: defer init until after command line option processing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'wireless.c')
-rw-r--r-- | wireless.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -491,8 +491,7 @@ wireless_add_handler(const char *script, const char *name, json_object *obj) 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; |