Fix P2P_GROUP_ADD handling of the persistent group parameters
The vht_center_freq2 parameter was in incorrect order in the call to wpas_p2p_group_add_persistent(). This would have dropped the value when adding a group based on a previously created persistent group ion the GO side and that would have resulted in a failure to start the GO. Fix the function call to use the correct order for the parameters. Signed-off-by: Jintao Lin <jintaolin@chromium.org>
This commit is contained in:
parent
0143cf42cd
commit
fae12c4b16
1 changed files with 2 additions and 2 deletions
|
@ -7123,8 +7123,8 @@ static int p2p_ctrl_group_add_persistent(struct wpa_supplicant *wpa_s,
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return wpas_p2p_group_add_persistent(wpa_s, ssid, 0, freq,
|
return wpas_p2p_group_add_persistent(wpa_s, ssid, 0, freq, 0,
|
||||||
vht_center_freq2, 0, ht40, vht,
|
vht_center_freq2, ht40, vht,
|
||||||
vht_chwidth, he, edmg,
|
vht_chwidth, he, edmg,
|
||||||
NULL, 0, 0, allow_6ghz, 0,
|
NULL, 0, 0, allow_6ghz, 0,
|
||||||
go_bssid);
|
go_bssid);
|
||||||
|
|
Loading…
Reference in a new issue