projects
/
platform
/
upstream
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Emit Service PropertyChanged when ConnectReason and DisconnectionRequested changes
[platform/upstream/connman.git]
/
src
/
rfkill.c
diff --git
a/src/rfkill.c
b/src/rfkill.c
index
20908d7
..
fce9d72
100755
(executable)
--- a/
src/rfkill.c
+++ b/
src/rfkill.c
@@
-169,7
+169,7
@@
int __connman_rfkill_block(enum connman_service_type type, bool block)
DBG("type %d block %d", type, block);
#if defined TIZEN_EXT
DBG("type %d block %d", type, block);
#if defined TIZEN_EXT
- DBG("try to set rfkill block %d, but it's not p
o
rmitted", block);
+ DBG("try to set rfkill block %d, but it's not p
e
rmitted", block);
return 0;
#else
return 0;
#else
@@
-206,7
+206,7
@@
int __connman_rfkill_init(void)
DBG("");
DBG("");
- fd = open("/dev/rfkill", O_RD
WR
| O_CLOEXEC);
+ fd = open("/dev/rfkill", O_RD
ONLY
| O_CLOEXEC);
if (fd < 0) {
connman_error("Failed to open RFKILL control device");
return -EIO;
if (fd < 0) {
connman_error("Failed to open RFKILL control device");
return -EIO;