]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
P2P: Move p2p_long_listen into struct wpa_global
authorJouni Malinen <j@w1.fi>
Sat, 4 Jan 2020 21:11:28 +0000 (23:11 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 4 Jan 2020 21:11:28 +0000 (23:11 +0200)
commitb7bb2c020458f8930d86698ae0293600d28c7f40
tree6b9f604598eb5c5aad6592dd9f201346ef341b7a
parent99eb150deb85300486aff9422a65620835c9bca4
P2P: Move p2p_long_listen into struct wpa_global

This variable is not specific to any P2P group interface and since it
was already used through global->p2p_init_wpa_s, it is cleaner to simply
move this to the global structure so that there is a single variable
instead of per-interface variables and need to pick the correct
interface.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/offchannel.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_supplicant_i.h