OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware_legacy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b74877b
)
Add additional logging
author
Dmitry Shmidt
<dimitrysh@google.com>
Mon, 8 Feb 2010 17:29:48 +0000
(09:29 -0800)
committer
Dmitry Shmidt
<dimitrysh@google.com>
Mon, 8 Feb 2010 17:30:59 +0000
(09:30 -0800)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
wifi/wifi.c
patch
|
blob
|
history
diff --git
a/wifi/wifi.c
b/wifi/wifi.c
index
e6444f3
..
5f24dcd
100644
(file)
--- a/
wifi/wifi.c
+++ b/
wifi/wifi.c
@@
-308,7
+308,7
@@
int wifi_start_supplicant()
sched_yield();
while (count-- > 0) {
-
#ifdef HAVE_LIBC_SYSTEM_PROPERTIES
+#ifdef HAVE_LIBC_SYSTEM_PROPERTIES
if (pi == NULL) {
pi = __system_property_find(SUPP_PROP_NAME);
}
@@
-428,6
+428,7
@@
int wifi_wait_for_event(char *buf, size_t buflen)
struct timeval *tptr;
if (monitor_conn == NULL) {
+ LOGD("Connection closed\n");
strncpy(buf, WPA_EVENT_TERMINATING " - connection closed", buflen-1);
buf[buflen-1] = '\0';
return strlen(buf);