3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

p2p: Fix the WSC Config Methods in GO Negotiation Response

When we send our GO Negotiation Response, send the Configuration Method
selected for the current connection rather than the accepted methods mask
that we hold in dev->device_info.
This commit is contained in:
Andrew Zaborowski 2020-08-25 04:45:33 +02:00 committed by Denis Kenzior
parent 19ab25f1d6
commit 619a5ed43b

View File

@ -1840,6 +1840,7 @@ respond:
p2p_device_fill_channel_list(dev, &resp_info.channel_list);
resp_info.device_info = dev->device_info;
resp_info.device_info.wsc_config_methods = dev->conn_config_method;
resp_info.device_password_id = dev->conn_password_id;
if (dev->conn_own_wfd) {