diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-04 02:58:54 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-04 02:58:54 +0100 |
commit | b28ec057616f661f980e96defa991ab7ee702c4f (patch) | |
tree | e1fc6368710689b5c1c825da12521a0c27aaddf9 /src/detect.c | |
parent | aaf7e33db53954cc5a8c87e0cc6f3264fcc62b51 (diff) | |
download | connman-b28ec057616f661f980e96defa991ab7ee702c4f.tar.gz connman-b28ec057616f661f980e96defa991ab7ee702c4f.tar.bz2 connman-b28ec057616f661f980e96defa991ab7ee702c4f.zip |
Use global device detection for WiFi
Diffstat (limited to 'src/detect.c')
-rw-r--r-- | src/detect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detect.c b/src/detect.c index fab79d40..bd51822d 100644 --- a/src/detect.c +++ b/src/detect.c @@ -167,7 +167,7 @@ static void detect_newlink(unsigned short type, int index, else if (stat(wimax_path, &st) == 0 && (st.st_mode & S_IFDIR)) devtype = CONNMAN_DEVICE_TYPE_WIMAX; else if (ioctl(sk, SIOCGIWNAME, &iwr) == 0) - devtype = CONNMAN_DEVICE_TYPE_UNKNOWN; + devtype = CONNMAN_DEVICE_TYPE_WIFI; else devtype = CONNMAN_DEVICE_TYPE_ETHERNET; |