From 6ef55ba3276ba85cb30d07c528266d92067725d4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 23 Oct 2010 17:50:24 +0000 Subject: libiwinfo: madwifi fixes, use direct ioctl calls for vap creation, ifup and ifdown, fix available txpower display --- contrib/package/iwinfo/src/iwinfo_nl80211.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/package/iwinfo/src/iwinfo_nl80211.c') diff --git a/contrib/package/iwinfo/src/iwinfo_nl80211.c b/contrib/package/iwinfo/src/iwinfo_nl80211.c index adc609f294..91ede2e99b 100644 --- a/contrib/package/iwinfo/src/iwinfo_nl80211.c +++ b/contrib/package/iwinfo/src/iwinfo_nl80211.c @@ -490,7 +490,7 @@ static char * nl80211_ifadd(const char *ifname) static void nl80211_ifdel(const char *ifname) { - struct nl80211_msg_conveyor *req, *res; + struct nl80211_msg_conveyor *req; req = nl80211_msg(ifname, NL80211_CMD_DEL_INTERFACE, 0); if( req ) @@ -1547,7 +1547,7 @@ int nl80211_get_hwmodelist(const char *ifname, int *buf) int nl80211_get_mbssid_support(const char *ifname, int *buf) { - /* test whether we can create another interface */ + /* Test whether we can create another interface */ char *nif = nl80211_ifadd(ifname); if( nif ) -- cgit v1.2.3