P2P: Include operating class 124 (channels 149,153,157,161)
When using the p2p_oper_reg_class configuration option instead of p2p_group_add freq parameter, the operating class 124 was not processed correctly. Include that class in the list of 5 GHz classes for the p2p_oper_reg_class to resolve this.
This commit is contained in:
parent
eec92ec597
commit
64f992652d
1 changed files with 1 additions and 1 deletions
|
@ -3110,7 +3110,7 @@ static void wpas_p2p_init_go_params(struct wpa_supplicant *wpa_s,
|
|||
wpa_printf(MSG_DEBUG, "P2P: Set GO freq based on configured "
|
||||
"frequency %d MHz", params->freq);
|
||||
} else if (wpa_s->conf->p2p_oper_reg_class == 115 ||
|
||||
wpa_s->conf->p2p_oper_reg_class == 118) {
|
||||
wpa_s->conf->p2p_oper_reg_class == 124) {
|
||||
params->freq = 5000 + 5 * wpa_s->conf->p2p_oper_channel;
|
||||
wpa_printf(MSG_DEBUG, "P2P: Set GO freq based on configured "
|
||||
"frequency %d MHz", params->freq);
|
||||
|
|
Loading…
Reference in a new issue