diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-03-11 21:10:13 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-03-11 21:10:13 +0100 |
commit | dd5db19baeec6c4d586b23cd590cce53bfea044d (patch) | |
tree | 8139113fabbd28da5cfd6298c88eb3fa46354b84 /src/detect.c | |
parent | 64e21423a7872663e23bb369af56c6d0776b3658 (diff) | |
download | connman-dd5db19baeec6c4d586b23cd590cce53bfea044d.tar.gz connman-dd5db19baeec6c4d586b23cd590cce53bfea044d.tar.bz2 connman-dd5db19baeec6c4d586b23cd590cce53bfea044d.zip |
Add type for GPS based devices (just for power control)
Diffstat (limited to 'src/detect.c')
-rw-r--r-- | src/detect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/detect.c b/src/detect.c index 01e67b1f..d26dc29f 100644 --- a/src/detect.c +++ b/src/detect.c @@ -189,6 +189,7 @@ static void detect_newlink(unsigned short type, int index, name = index2ident(index, "dev_"); break; case CONNMAN_DEVICE_TYPE_BLUETOOTH: + case CONNMAN_DEVICE_TYPE_GPS: case CONNMAN_DEVICE_TYPE_HSO: case CONNMAN_DEVICE_TYPE_NOZOMI: case CONNMAN_DEVICE_TYPE_HUAWEI: @@ -211,6 +212,7 @@ static void detect_newlink(unsigned short type, int index, case CONNMAN_DEVICE_TYPE_NOZOMI: case CONNMAN_DEVICE_TYPE_HUAWEI: case CONNMAN_DEVICE_TYPE_NOVATEL: + case CONNMAN_DEVICE_TYPE_GPS: mode = CONNMAN_DEVICE_MODE_UNKNOWN; break; case CONNMAN_DEVICE_TYPE_ETHERNET: |