]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P2: Check peer_addr being available more consistently
authorJouni Malinen <j@w1.fi>
Sun, 23 Feb 2025 09:43:20 +0000 (11:43 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 23 Feb 2025 09:43:20 +0000 (11:43 +0200)
commit12cd887c4432a0c12c42cb27a86c0ab5fee0b1e9
tree7bdd4cbb006117c0cd6283bf28eb98c774e9eb30
parent714734135e42f3b035638fb5611085fb8af0eb10
P2P2: Check peer_addr being available more consistently

It looks like peer_addr might be NULL here in the p2p2 case since the
client role case is setting peer_addr explicitly only with !wpa_s->p2p2.

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