projects
/
platform
/
core
/
connectivity
/
net-config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2437c8f
)
Create temporary file to check wifi firmware state #3
92/191692/1
submit/tizen/20181022.095216
author
Seonah Moon
<seonah1.moon@samsung.com>
Mon, 22 Oct 2018 09:31:20 +0000
(18:31 +0900)
committer
Seonah Moon
<seonah1.moon@samsung.com>
Mon, 22 Oct 2018 09:31:24 +0000
(18:31 +0900)
Change-Id: I174f255dc49f2883b5ddc945e4375720327dc820
src/wifi.c
patch
|
blob
|
history
diff --git
a/src/wifi.c
b/src/wifi.c
index 0bc527393ddbd869fef07aa48d478eaa1adc39d6..8d3303af8b2b382f196e907db45bf4d0cc16255c 100755
(executable)
--- a/
src/wifi.c
+++ b/
src/wifi.c
@@
-120,7
+120,7
@@
static void _update_wifi_firmware_state(void)
mode_t mode = S_IRGRP | S_IWUSR | S_IXGRP;
fd = creat(SPRD_CP2_FIRMWARE_STATE_PATH, mode);
- if (fd > 0)
+ if (fd >
=
0)
close(fd);
else
DBG("Failed to create wifi firmware state file");