hostapd/src/p2p
Benjamin Berg 7cf3ceadaa P2P: Call normal SD query callback on RX/TX race
If the TX success response races with the RX frame then the state
machine was simply move to P2P_SD_DURING_FIND to continue the operation.
However, this does not take into account broadcast queries where the
callback handler updates the peer's sd_pending_bcast_queries.

Fix this by exporting the callback and calling it directly. This is
fine, as the operation is cancelled immediately afterwards, ensuring
that the callback is not called a second time.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
2024-04-21 11:55:53 +03:00
..
Makefile build: Make more library things common 2020-10-12 20:20:35 +03:00
p2p.c P2P: Call normal SD query callback on RX/TX race 2024-04-21 11:55:53 +03:00
p2p.h P2P: Use only PSC for P2P group in the 6 GHz band 2022-09-14 23:54:20 +03:00
p2p_build.c P2P: Use weighted preferred channel list for channel selection 2022-06-02 17:09:10 +03:00
p2p_dev_disc.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
p2p_go_neg.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
p2p_group.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
p2p_i.h P2P: Call normal SD query callback on RX/TX race 2024-04-21 11:55:53 +03:00
p2p_invitation.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
p2p_parse.c Check whether element parsing has failed 2023-07-18 16:05:17 +03:00
p2p_pd.c Use ether_addr_equal() to compare whether two MAC addresses are equal 2024-01-13 23:47:21 +02:00
p2p_sd.c P2P: Call normal SD query callback on RX/TX race 2024-04-21 11:55:53 +03:00
p2p_utils.c P2P: Use weighted preferred channel list for channel selection 2022-06-02 17:09:10 +03:00