aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/bss.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-08-22 08:16:48 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-22 08:16:48 (GMT)
commitadd11058e2b93dc80007928e0887c33555a37d34 (patch)
tree081564c448971c06cc253bfc66b4ae33b732a1ee /wlantest/bss.c
parent012112621133345c4aff3f054df0c82a023bddf7 (diff)
downloadhostap-add11058e2b93dc80007928e0887c33555a37d34.zip
hostap-add11058e2b93dc80007928e0887c33555a37d34.tar.gz
hostap-add11058e2b93dc80007928e0887c33555a37d34.tar.bz2
wlantest: Fix couple of compiler warnings
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wlantest/bss.c')
-rw-r--r--wlantest/bss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wlantest/bss.c b/wlantest/bss.c
index 94f2580..d554853 100644
--- a/wlantest/bss.c
+++ b/wlantest/bss.c
@@ -92,7 +92,7 @@ int bss_add_pmk_from_passphrase(struct wlantest_bss *bss,
pmk = os_zalloc(sizeof(*pmk));
if (pmk == NULL)
return -1;
- if (pbkdf2_sha1(passphrase, (char *) bss->ssid, bss->ssid_len, 4096,
+ if (pbkdf2_sha1(passphrase, bss->ssid, bss->ssid_len, 4096,
pmk->pmk, sizeof(pmk->pmk)) < 0) {
os_free(pmk);
return -1;