mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01: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:
parent
19ab25f1d6
commit
619a5ed43b
@ -1840,6 +1840,7 @@ respond:
|
|||||||
|
|
||||||
p2p_device_fill_channel_list(dev, &resp_info.channel_list);
|
p2p_device_fill_channel_list(dev, &resp_info.channel_list);
|
||||||
resp_info.device_info = dev->device_info;
|
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;
|
resp_info.device_password_id = dev->conn_password_id;
|
||||||
|
|
||||||
if (dev->conn_own_wfd) {
|
if (dev->conn_own_wfd) {
|
||||||
|
Loading…
Reference in New Issue
Block a user