From 2f377b807f22432a44b074e203159b9408f6c252 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 1 Dec 2011 16:22:09 +0000 Subject: [PATCH] luci-0.10: merge r8034 --- contrib/package/iwinfo/src/iwinfo_nl80211.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/package/iwinfo/src/iwinfo_nl80211.c b/contrib/package/iwinfo/src/iwinfo_nl80211.c index d00d26b0a..83665ccc8 100644 --- a/contrib/package/iwinfo/src/iwinfo_nl80211.c +++ b/contrib/package/iwinfo/src/iwinfo_nl80211.c @@ -298,6 +298,8 @@ static char * nl80211_ifname2phy(const char *ifname) static char phy[32] = { 0 }; struct nl80211_msg_conveyor *req; + memset(phy, 0, sizeof(phy)); + req = nl80211_msg(ifname, NL80211_CMD_GET_WIPHY, 0); if (req) { -- 2.25.1