]> git.ipfire.org Git - thirdparty/hostap.git/commit
Add test code for fetching the last configured GTK
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 28 Oct 2011 11:39:44 +0000 (14:39 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 20 May 2013 08:00:56 +0000 (11:00 +0300)
commitfa7ae9501b1cb9ef61987d6ab4764167e355ae65
treeccb5bd301809cb7d1982ffae0684e9e40bf87698
parent576bce9c86a26344fae53c380715b458b9bf6d41
Add test code for fetching the last configured GTK

This can be useful for some test cases, so allow wpa_supplicant to be
built with special test functionality to expose the current (last
configured) GTK. This is disabled by default and can be enabled by
adding following line into .config:
CFLAGS += -DCONFIG_TESTING_GET_GTK

The GTK can then be fetched with "wpa_cli get gtk".

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/wpa_supplicant_i.h
wpa_supplicant/wpas_glue.c