Message ID | 20130227221012.416781401C9@ushik.mtv.corp.google.com |
---|---|
State | Accepted |
Commit | cfd42c94eedd64b9d313ebe3c742f27ea3600c22 |
Headers | show |
Thanks, applied.
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index 65a769e..f8e0f3e 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -3353,8 +3353,13 @@ static int wpa_supplicant_ctrl_iface_bss(struct wpa_supplicant *wpa_s, ret += len; buf += len; buflen -= len; - if (bss == bsslast) + if (bss == bsslast) { + if ((mask & WPA_BSS_MASK_DELIM) && len && + (bss == dl_list_last(&wpa_s->bss_id, + struct wpa_bss, list_id))) + os_snprintf(buf - 5, 5, "####\n"); break; + } next = bss->list_id.next; if (next == &wpa_s->bss_id) break;
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> --- wpa_supplicant/ctrl_iface.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)