diff options
Diffstat (limited to 'src/rfkill.c')
-rwxr-xr-x | src/rfkill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfkill.c b/src/rfkill.c index 36426e00..fce9d720 100755 --- a/src/rfkill.c +++ b/src/rfkill.c @@ -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; |