79329ae0aa
Previously the peer operating channel preference was accepted if the indicated frequency was listed in the local preference list from the driver. This was assuming that the driver included only channels that are currently enabled for GO operation. Since that might not be the case, filter the local preference list by doing an explicit validation of the indicated channels for P2P support. This moves the similar validation steps from two other code paths in p2p_check_pref_chan_recv() and p2p_check_pref_chan_no_recv() into a common filtering step in p2p_check_pref_chan() for all three cases. This avoids issues to start the GO in cases where the preferred frequency list from the driver may include channels that are not currently enabled for P2P GO use (e.g., 5 GHz band in world roaming configuration). Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> |
||
---|---|---|
.. | ||
Makefile | ||
p2p.c | ||
p2p.h | ||
p2p_build.c | ||
p2p_dev_disc.c | ||
p2p_go_neg.c | ||
p2p_group.c | ||
p2p_i.h | ||
p2p_invitation.c | ||
p2p_parse.c | ||
p2p_pd.c | ||
p2p_sd.c | ||
p2p_utils.c |