commit 619a5ed43b67b90bd3d5811de497d581af26c4b5
parent 19ab25f1d674d536b59daa00c0b7557482803e59
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Tue, 25 Aug 2020 04:45:33 +0200
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.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/p2p.c b/src/p2p.c
@@ -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) {