diff options
author | Irfan Sheriff <isheriff@google.com> | 2012-09-11 08:58:24 -0700 |
---|---|---|
committer | Irfan Sheriff <isheriff@google.com> | 2012-09-11 08:58:24 -0700 |
commit | 8d96518810ad721dc2f07d3b08a186ce23db06ff (patch) | |
tree | a6447c86f45cd896ac3ac5300f66f82e8c0bde6d | |
parent | 8367dc909f536f600c7474582fe0a96bef7c78fc (diff) | |
download | external_wpa_supplicant_8-8d96518810ad721dc2f07d3b08a186ce23db06ff.zip external_wpa_supplicant_8-8d96518810ad721dc2f07d3b08a186ce23db06ff.tar.gz external_wpa_supplicant_8-8d96518810ad721dc2f07d3b08a186ce23db06ff.tar.bz2 |
clear wfd_dev_info_hex before use
Change-Id: Ic5cdb4df220834faf9e7da5cc1cc0a4191e6abd1
-rw-r--r-- | wpa_supplicant/p2p_supplicant.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c index 6dbfcdf..94efd72 100644 --- a/wpa_supplicant/p2p_supplicant.c +++ b/wpa_supplicant/p2p_supplicant.c @@ -1189,6 +1189,7 @@ void wpas_dev_found(void *ctx, const u8 *addr, char devtype[WPS_DEV_TYPE_BUFSIZE]; #define WFD_DEV_INFO_SIZE 9 char wfd_dev_info_hex[2 * WFD_DEV_INFO_SIZE + 1]; + os_memset(wfd_dev_info_hex, 0, sizeof(wfd_dev_info_hex)); #ifdef CONFIG_WIFI_DISPLAY if (info->wfd_subelems) { |