diff options
author | Irfan Sheriff <isheriff@google.com> | 2012-08-13 11:22:04 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-08-13 11:22:04 -0700 |
commit | e557633aa9aae78f04f3ec135496027339408bb5 (patch) | |
tree | e0c6d0f21e04b0f7b093d00b23f56cf66041875a /wpa_supplicant | |
parent | 762a3e300e5d8c28a693f7892eda7b3341064864 (diff) | |
parent | e2ea008a74fb04cee45dee9451812ff147502a5a (diff) | |
download | external_wpa_supplicant_8-e557633aa9aae78f04f3ec135496027339408bb5.zip external_wpa_supplicant_8-e557633aa9aae78f04f3ec135496027339408bb5.tar.gz external_wpa_supplicant_8-e557633aa9aae78f04f3ec135496027339408bb5.tar.bz2 |
Merge "Add delimiter for bss command" into jb-mr1-dev
Diffstat (limited to 'wpa_supplicant')
-rw-r--r-- | wpa_supplicant/ctrl_iface.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index 849633a..c703002 100644 --- 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; } |