]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Use correct return type for has_channel()
authorJouni Malinen <jouni@codeaurora.org>
Tue, 8 Jun 2021 09:45:58 +0000 (12:45 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 8 Jun 2021 09:46:45 +0000 (12:46 +0300)
commit525ec045f39fdbd9828e68fbff685babc7427a46
tree08293d883c77596f34f68a3b653ca7d36832cbcb
parent09fb9b0cb028e9885989920834a3e6481c675388
P2P: Use correct return type for has_channel()

This helper function returns enum chan_allowed values, so use it as the
return type instead of unnecessarily generic int.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpa_supplicant/p2p_supplicant.c