Updated connman to version 1.35
[platform/upstream/connman.git] / src / rfkill.c
index 36426e0..fce9d72 100755 (executable)
@@ -206,7 +206,7 @@ int __connman_rfkill_init(void)
 
        DBG("");
 
-       fd = open("/dev/rfkill", O_RDWR | O_CLOEXEC);
+       fd = open("/dev/rfkill", O_RDONLY | O_CLOEXEC);
        if (fd < 0) {
                connman_error("Failed to open RFKILL control device");
                return -EIO;