OSDN Git Service
(root)
/
android-x86
/
external-wpa_supplicant_8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8367dc9
)
clear wfd_dev_info_hex before use
author
Irfan Sheriff
<isheriff@google.com>
Tue, 11 Sep 2012 15:58:24 +0000
(08:58 -0700)
committer
Irfan Sheriff
<isheriff@google.com>
Tue, 11 Sep 2012 15:58:24 +0000
(08:58 -0700)
Change-Id: Ic5cdb4df220834faf9e7da5cc1cc0a4191e6abd1
wpa_supplicant/p2p_supplicant.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/p2p_supplicant.c
b/wpa_supplicant/p2p_supplicant.c
index
6dbfcdf
..
94efd72
100644
(file)
--- 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) {