Disable WiMAX device detection for now
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 26 Feb 2009 22:13:56 +0000 (23:13 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 26 Feb 2009 22:13:56 +0000 (23:13 +0100)
src/detect.c

index bd51822..01e67b1 100644 (file)
@@ -162,10 +162,12 @@ static void detect_newlink(unsigned short type, int index,
 
                if (g_str_has_prefix(devname, "bnep") == TRUE)
                        devtype = CONNMAN_DEVICE_TYPE_UNKNOWN;
+               else if (g_str_has_prefix(devname, "wmx") == TRUE)
+                       devtype = CONNMAN_DEVICE_TYPE_UNKNOWN;
                else if (stat(bridge_path, &st) == 0 && (st.st_mode & S_IFDIR))
                        devtype = CONNMAN_DEVICE_TYPE_UNKNOWN;
                else if (stat(wimax_path, &st) == 0 && (st.st_mode & S_IFDIR))
-                       devtype = CONNMAN_DEVICE_TYPE_WIMAX;
+                       devtype = CONNMAN_DEVICE_TYPE_UNKNOWN;
                else if (ioctl(sk, SIOCGIWNAME, &iwr) == 0)
                        devtype = CONNMAN_DEVICE_TYPE_WIFI;
                else