Return to vap.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedtools / src |
version 1.1.2.4, 2010/10/27 16:45:35 | version 1.1.2.5, 2010/10/28 09:08:58 |
---|---|
Line 129 wifi_buildWDS(int fd, char **ppsIF, int nIF) | Line 129 wifi_buildWDS(int fd, char **ppsIF, int nIF) |
return wds; | return wds; |
} | } |
inline void | |
wifi_destroyWDS(const char *csIface, struct dwds_if **wds) | |
{ | |
struct dwds_if *p, **pp; | |
assert(csIface); | |
assert(wds); | |
for (pp = wds; (p = *pp); pp = &p->if_next) | |
if (!strncmp(p->if_name, csIface, IFNAMSIZ)) | |
break; | |
if (p) { | |
*pp = p->if_next; | |
free(p); | |
} | |
} |