mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-01 03:38:21 -05:00
P2P: Fix operation channel configuration update
There was already a CFG_CHANGED_P2P_OPER_CHANNEL handler function, but this flag was not set when the p2p_oper_reg_class or p2p_oper_channel parameters were changed. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
b2b688d18d
commit
00eb299396
@ -3125,8 +3125,8 @@ static const struct global_parse_data global_fields[] = {
|
|||||||
{ FUNC(sec_device_type), CFG_CHANGED_SEC_DEVICE_TYPE },
|
{ FUNC(sec_device_type), CFG_CHANGED_SEC_DEVICE_TYPE },
|
||||||
{ INT(p2p_listen_reg_class), 0 },
|
{ INT(p2p_listen_reg_class), 0 },
|
||||||
{ INT(p2p_listen_channel), 0 },
|
{ INT(p2p_listen_channel), 0 },
|
||||||
{ INT(p2p_oper_reg_class), 0 },
|
{ INT(p2p_oper_reg_class), CFG_CHANGED_P2P_OPER_CHANNEL },
|
||||||
{ INT(p2p_oper_channel), 0 },
|
{ INT(p2p_oper_channel), CFG_CHANGED_P2P_OPER_CHANNEL },
|
||||||
{ INT_RANGE(p2p_go_intent, 0, 15), 0 },
|
{ INT_RANGE(p2p_go_intent, 0, 15), 0 },
|
||||||
{ STR(p2p_ssid_postfix), CFG_CHANGED_P2P_SSID_POSTFIX },
|
{ STR(p2p_ssid_postfix), CFG_CHANGED_P2P_SSID_POSTFIX },
|
||||||
{ INT_RANGE(persistent_reconnect, 0, 1), 0 },
|
{ INT_RANGE(persistent_reconnect, 0, 1), 0 },
|
||||||
|
Loading…
Reference in New Issue
Block a user