diff options
author | Niraj Kumar Goit <niraj.g@samsung.com> | 2016-06-15 15:39:36 +0530 |
---|---|---|
committer | Niraj Kumar Goit <niraj.g@samsung.com> | 2016-06-17 21:27:27 +0530 |
commit | a59c6e4a0176ca9ad05c1980dcebfbb07b8a188f (patch) | |
tree | 9e473cf3e56f21048704ac4674afe6718bda1ffe /src/device.c | |
parent | 46c06a384067f29cdd9f1550278cda29798db7b2 (diff) | |
download | connman-a59c6e4a0176ca9ad05c1980dcebfbb07b8a188f.tar.gz connman-a59c6e4a0176ca9ad05c1980dcebfbb07b8a188f.tar.bz2 connman-a59c6e4a0176ca9ad05c1980dcebfbb07b8a188f.zip |
[SPIN] Fix the connman bugs.
- Fixed NTP service's DNS resolving failure in Hive project.
- Do not turn "wlan0" interface down in cleanup_devices().
- Set resource limits "RLIMIT_NOFILE" for a process.
- After appending a file, fflush and fsync all modified in-core data of the file.
Change-Id: I2767b3302d6204d066fe2075027828ff209d0ee0
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Diffstat (limited to 'src/device.c')
-rwxr-xr-x | src/device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c index 4d2d5403..aff0fa93 100755 --- a/src/device.c +++ b/src/device.c @@ -1432,6 +1432,9 @@ static void cleanup_devices(void) DBG("cleaning up %s index %d", interfaces[i], index); +#if defined TIZEN_EXT + if (strcmp(interfaces[i], "wlan0") != 0) +#endif connman_inet_ifdown(index); /* |