summaryrefslogtreecommitdiff
path: root/wireless.c
diff options
context:
space:
mode:
Diffstat (limited to 'wireless.c')
-rw-r--r--wireless.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wireless.c b/wireless.c
index be94c34..9109ce1 100644
--- a/wireless.c
+++ b/wireless.c
@@ -83,7 +83,7 @@ vif_config_add_bridge(struct blob_buf *buf, struct blob_attr *networks, bool pre
if (!dev)
return;
- if (dev->type != &bridge_device_type)
+ if (!dev->type->bridge_capability)
return;
}