aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2016-08-12 13:07:35 (GMT)
committerJouni Malinen <j@w1.fi>2016-08-28 18:55:54 (GMT)
commit07a6bfe1d2f13ac31cfc2c5b5e15db3feda52e9b (patch)
tree6cd85c7f45155083484e23465de40b061b812184 /wpa_supplicant
parent535a8b8712b9e57986d3ea5020f68bf069f9d8a6 (diff)
downloadhostap-07a6bfe1d2f13ac31cfc2c5b5e15db3feda52e9b.zip
hostap-07a6bfe1d2f13ac31cfc2c5b5e15db3feda52e9b.tar.gz
hostap-07a6bfe1d2f13ac31cfc2c5b5e15db3feda52e9b.tar.bz2
mka: Store cipher suite ID in a u64 instead of u8 pointer
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/driver_i.h2
-rw-r--r--wpa_supplicant/wpas_kay.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 63b225a..220b7ba 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -733,7 +733,7 @@ static inline int wpa_drv_set_replay_protect(struct wpa_supplicant *wpa_s,
}
static inline int wpa_drv_set_current_cipher_suite(struct wpa_supplicant *wpa_s,
- const u8 *cs)
+ u64 cs)
{
if (!wpa_s->driver->set_current_cipher_suite)
return -1;
diff --git a/wpa_supplicant/wpas_kay.c b/wpa_supplicant/wpas_kay.c
index 7e1b51a..d6ec8c5 100644
--- a/wpa_supplicant/wpas_kay.c
+++ b/wpa_supplicant/wpas_kay.c
@@ -50,7 +50,7 @@ static int wpas_set_replay_protect(void *wpa_s, Boolean enabled, u32 window)
}
-static int wpas_set_current_cipher_suite(void *wpa_s, const u8 *cs)
+static int wpas_set_current_cipher_suite(void *wpa_s, u64 cs)
{
return wpa_drv_set_current_cipher_suite(wpa_s, cs);
}