commit | 5a85f720c8e43866880fdf9446dc5ad9f45e9091 | [log] [tgz] |
---|---|---|
author | Irfan Sheriff <isheriff@google.com> | Tue Sep 11 10:17:37 2012 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Sep 11 10:17:38 2012 -0700 |
tree | ab41898396a0d2dbc612e4a01c3ff31e5bd73211 | |
parent | 9bc61e18ee9adc8511c55c6b6a3eca3dfd193e62 [diff] | |
parent | 8d96518810ad721dc2f07d3b08a186ce23db06ff [diff] |
Merge "clear wfd_dev_info_hex before use" into jb-mr1-dev
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 @@ 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) {