aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-03-29 19:24:10 (GMT)
committerJouni Malinen <j@w1.fi>2013-03-29 19:24:10 (GMT)
commitce26864e79144cba12d5ff98632570593cc57b8a (patch)
treece21f8c7aa5960ef8934419482f1851c43368dd1 /wlantest
parent894541ea9cd9485924437428d22faf1e6c25ce58 (diff)
downloadhostap-ce26864e79144cba12d5ff98632570593cc57b8a.zip
hostap-ce26864e79144cba12d5ff98632570593cc57b8a.tar.gz
hostap-ce26864e79144cba12d5ff98632570593cc57b8a.tar.bz2
wlantest: Get rid of compiler warning
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wlantest')
-rw-r--r--wlantest/wlantest_cli.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/wlantest/wlantest_cli.c b/wlantest/wlantest_cli.c
index e932be1..a531b60 100644
--- a/wlantest/wlantest_cli.c
+++ b/wlantest/wlantest_cli.c
@@ -1213,7 +1213,6 @@ static int cmd_add_wepkey(int s, int argc, char *argv[])
{
u8 resp[WLANTEST_CTRL_MAX_RESP_LEN];
u8 buf[100], *pos, *end;
- size_t len;
int rlen;
if (argc < 1) {
@@ -1221,7 +1220,6 @@ static int cmd_add_wepkey(int s, int argc, char *argv[])
return -1;
}
- len = os_strlen(argv[0]);
pos = buf;
end = buf + sizeof(buf);
WPA_PUT_BE32(pos, WLANTEST_CTRL_ADD_PASSPHRASE);