]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P2: Fix the argument list in wpas_p2p_usd_elems() for non-P2P build
authorsunilravi <sunilravi@google.com>
Fri, 21 Mar 2025 18:07:37 +0000 (18:07 +0000)
committerJouni Malinen <j@w1.fi>
Sat, 22 Mar 2025 09:04:32 +0000 (11:04 +0200)
commit6b618f419d66e8360b4e968026943f65bcf4689b
tree55accc52443ff6448668524aaf4da4eff1695a73
parentb5c7f20804655de31114e17524735691cf0e2798
P2P2: Fix the argument list in wpas_p2p_usd_elems() for non-P2P build

The wpas_p2p_usd_elems() expects two arguments. But the stub function in
p2p_supplicant.h when CONFIG_P2P is disabled has only one argument. Fix
the build error by adding the service name argument in the
wpas_p2p_usd_elems().

Fixes: c96fd75b1841 ("P2P2: Add USD service hash in the P2P2 PASN M1 frame")
Signed-off-by: sunilravi <sunilravi@google.com>
wpa_supplicant/p2p_supplicant.h