summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-06-19 08:36:06 +0200
committerFelix Fietkau <nbd@nbd.name>2021-06-19 09:16:51 +0200
commitf037b082923abc2dad0d14c8401ebe0afd816b5c (patch)
treeafa32955b66f3ef38243045c81b56495c1bfe705 /device.c
parent013a1171e9b0df4f458fb87bbfb3bf8c9602ce6b (diff)
downloadnetifd-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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/device.c b/device.c
index c6b0b5f..f9ec635 100644
--- a/device.c
+++ b/device.c
@@ -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;