summaryrefslogtreecommitdiff
path: root/src/nm-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-manager.c')
-rw-r--r--src/nm-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-manager.c b/src/nm-manager.c
index 0bb3b0efdd..fe80156712 100644
--- a/src/nm-manager.c
+++ b/src/nm-manager.c
@@ -2187,7 +2187,7 @@ platform_link_added (NMManager *self,
/* Ignore Bluetooth PAN interfaces; they are handled by their NMDeviceBt
* parent and don't get a separate interface.
*/
- if (!strncmp (plink->name, "bnep", STRLEN ("bnep")))
+ if (plink->type == NM_LINK_TYPE_BNEP)
return;
if (device == NULL) {