DBG("type %d block %d", type, block);
#if defined TIZEN_EXT
- DBG("try to set rfkill block %d, but it's not pormitted", block);
+ DBG("try to set rfkill block %d, but it's not permitted", block);
return 0;
#else
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;