diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-09-07 04:17:00 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-09-07 04:17:00 +0000 |
commit | ebc7582205400edebbaf9d9d2ecdba4676096f76 (patch) | |
tree | e67ed0c2adc6eb9cb5a4c45fb1ad3a6a1c85fafd /contrib/package/iwinfo/src/iwinfo_nl80211.h | |
parent | b1cc78085ef0ce0b9d7d00f86204311334627406 (diff) |
libiwinfo: rework nl80211 interface code, plug remaining memory leaks
Diffstat (limited to 'contrib/package/iwinfo/src/iwinfo_nl80211.h')
-rw-r--r-- | contrib/package/iwinfo/src/iwinfo_nl80211.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/package/iwinfo/src/iwinfo_nl80211.h b/contrib/package/iwinfo/src/iwinfo_nl80211.h index 7f6ffeaaa2..edad085b43 100644 --- a/contrib/package/iwinfo/src/iwinfo_nl80211.h +++ b/contrib/package/iwinfo/src/iwinfo_nl80211.h @@ -45,8 +45,6 @@ struct nl80211_msg_conveyor { int custom_cb; struct nl_msg *msg; struct nl_cb *cb; - struct genlmsghdr *hdr; - struct nlattr *attr[NL80211_ATTR_MAX + 1]; }; struct nl80211_rssi_rate { @@ -60,6 +58,11 @@ struct nl80211_assoc_count { int count; }; +struct nl80211_arraybuf { + void *buf; + int count; +}; + int nl80211_probe(const char *ifname); int nl80211_get_mode(const char *ifname, char *buf); int nl80211_get_ssid(const char *ifname, char *buf); |