summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/connection-editor/ce-page.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/connection-editor/ce-page.c b/src/connection-editor/ce-page.c
index 947e80ce..6a5b21bb 100644
--- a/src/connection-editor/ce-page.c
+++ b/src/connection-editor/ce-page.c
@@ -360,7 +360,8 @@ _get_device_list (CEPage *self,
char *mac = NULL;
char *item;
- if (!G_TYPE_CHECK_INSTANCE_TYPE (dev, device_type))
+ if ( device_type != G_TYPE_NONE
+ && !G_TYPE_CHECK_INSTANCE_TYPE (dev, device_type))
continue;
if (device_type == NM_TYPE_DEVICE_BT)