summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/iwinfo/src/iwinfo_nl80211.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-23 17:50:24 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-23 17:50:24 +0000
commit6ef55ba3276ba85cb30d07c528266d92067725d4 (patch)
treea39136fabb5ebeb5711a4780ecae6ca175870f6b /contrib/package/iwinfo/src/iwinfo_nl80211.c
parent50bd4a979be2f56e9872f3a4dcd3c17fc4334957 (diff)
libiwinfo: madwifi fixes, use direct ioctl calls for vap creation, ifup and ifdown, fix available txpower display
Diffstat (limited to 'contrib/package/iwinfo/src/iwinfo_nl80211.c')
-rw-r--r--contrib/package/iwinfo/src/iwinfo_nl80211.c4
1 files changed, 2 insertions, 2 deletions
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 )