]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Check p2p_channel_select() return value
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 18 Jul 2023 13:15:01 +0000 (16:15 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 18 Jul 2023 13:15:01 +0000 (16:15 +0300)
commit50ee26fc7044ca38f0eecb59f7735caabdfd9553
treeb737503e28cbe9199ea0914a5630216e949c389a
parentfb2b7858a728eb1ad32b49e9e129f2fc1d3ea880
P2P: Check p2p_channel_select() return value

Verify that the operation succeeds before a debug print indicating that
it did. This was already done in most callers, so be more consistent and
do it here as well.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/p2p/p2p.c