luci-0.10: merge r7932

This commit is contained in:
Jo-Philipp Wich 2011-11-13 22:01:19 +00:00
parent 0ef5fe9621
commit 410ee753fd

View file

@ -452,6 +452,8 @@ static char * nl80211_phy2ifname(const char *ifname)
else if (!strncmp(ifname, "radio", 5))
phyidx = atoi(&ifname[5]);
memset(nif, 0, sizeof(nif));
if (phyidx > -1)
{
if ((d = opendir("/sys/class/net")) != NULL)