summaryrefslogtreecommitdiffhomepage
path: root/wireless.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2016-09-23 15:08:18 +0200
committerFelix Fietkau <nbd@nbd.name>2016-09-26 11:51:19 +0200
commita5c57037d6da0e0f739c83767bd051acad282c4d (patch)
tree3d91c862f0da3dba4c8a63e34f5eab54d935c118 /wireless.c
parent92889eca62fcd5b72d7c54101c35ff6d6d477c40 (diff)
bridge: Make bridge_device_type static
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
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;
}