]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Move group removal reason to a function parameter
authorJouni Malinen <j@w1.fi>
Sat, 11 Aug 2012 09:41:31 +0000 (12:41 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 11 Aug 2012 09:41:31 +0000 (12:41 +0300)
commit8dba4aef11053bcaf6529fc0902487d077663285
tree189fe8d2bfec09c318d93706a6e0e8d4c5287a51
parent30ee769235f3170d9bf6b62c11c6e018e97deb84
P2P: Move group removal reason to a function parameter

wpa_s->removal_reason was set only when calling wpas_p2p_group_delete()
and while couple of call places did not set this, it should really be
set in each case. As such, it works better as a function parameter than
a variable in struct wpa_supplicant.

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