OSDN Git Service
(root)
/
android-x86
/
external-wpa_supplicant_8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5e8f06
)
Add delimiter for bss command
author
Irfan Sheriff
<isheriff@google.com>
Mon, 13 Aug 2012 17:56:16 +0000
(10:56 -0700)
committer
Irfan Sheriff
<isheriff@google.com>
Mon, 13 Aug 2012 18:13:09 +0000
(11:13 -0700)
With the availability of MASK option, the number of lines per BSS is not obvious,
add a delimiter to make parsing less flaky
Bug:
2961159
Change-Id: I9e5523f8da183e0735dbc06f0c09c9f841060504
wpa_supplicant/ctrl_iface.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/ctrl_iface.c
b/wpa_supplicant/ctrl_iface.c
index
849633a
..
c703002
100644
(file)
--- a/
wpa_supplicant/ctrl_iface.c
+++ b/
wpa_supplicant/ctrl_iface.c
@@
-2741,6
+2741,13
@@
static int print_bss_info(struct wpa_supplicant *wpa_s, struct wpa_bss *bss,
}
#endif /* CONFIG_INTERWORKING */
+#ifdef ANDROID
+ ret = os_snprintf(pos, end - pos, "====\n");
+ if (ret < 0 || ret >= end - pos)
+ return 0;
+ pos += ret;
+#endif
+
return pos - buf;
}