diff options
author | Felix Fietkau <nbd@nbd.name> | 2021-06-19 08:36:06 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-06-19 09:16:51 +0200 |
commit | f037b082923abc2dad0d14c8401ebe0afd816b5c (patch) | |
tree | afa32955b66f3ef38243045c81b56495c1bfe705 /device.c | |
parent | 013a1171e9b0df4f458fb87bbfb3bf8c9602ce6b (diff) | |
download | netifd-f037b082923abc2dad0d14c8401ebe0afd816b5c.tar.gz |
wireless: handle WDS per-sta devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -24,6 +24,7 @@ #include "netifd.h" #include "system.h" #include "config.h" +#include "wireless.h" static struct list_head devtypes = LIST_HEAD_INIT(devtypes); static struct avl_tree devices; @@ -1213,6 +1214,8 @@ void device_hotplug_event(const char *name, bool add) { struct device *dev; + wireless_device_hotplug_event(name, add); + dev = device_find(name); if (!dev || dev->type != &simple_device_type) return; |