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> |
||
---|---|---|
.. | ||
ap | ||
common | ||
crypto | ||
drivers | ||
eap_common | ||
eap_peer | ||
eap_server | ||
eapol_auth | ||
eapol_supp | ||
fst | ||
l2_packet | ||
p2p | ||
pae | ||
radius | ||
rsn_supp | ||
tls | ||
utils | ||
wps | ||
lib.rules | ||
Makefile |