aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2012-09-11 10:17:37 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-09-11 10:17:38 -0700
commit5a85f720c8e43866880fdf9446dc5ad9f45e9091 (patch)
treeab41898396a0d2dbc612e4a01c3ff31e5bd73211
parent9bc61e18ee9adc8511c55c6b6a3eca3dfd193e62 (diff)
parent8d96518810ad721dc2f07d3b08a186ce23db06ff (diff)
downloadexternal_wpa_supplicant_8-5a85f720c8e43866880fdf9446dc5ad9f45e9091.zip
external_wpa_supplicant_8-5a85f720c8e43866880fdf9446dc5ad9f45e9091.tar.gz
external_wpa_supplicant_8-5a85f720c8e43866880fdf9446dc5ad9f45e9091.tar.bz2
Merge "clear wfd_dev_info_hex before use" into jb-mr1-dev
-rw-r--r--wpa_supplicant/p2p_supplicant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index 73d082e..7afdfa5 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -1199,6 +1199,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) {