Skip to content

Commit 6e079f3

Browse files
fengming-yecfriedt
authored andcommitted
net: wifi: fix 11k cannot be set before connection
Support the case that 11k parameter can be set before wifi connection. This field should not be cleared by connection. Neighbor report will be cleared before start_roaming. So wifi_connect don't need to clear 11k params. Signed-off-by: Fengming Ye <[email protected]>
1 parent a14c78a commit 6e079f3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

subsys/net/l2/wifi/wifi_mgmt.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,6 @@ static int wifi_connect(uint64_t mgmt_request, struct net_if *iface,
442442
}
443443

444444
#ifdef CONFIG_WIFI_NM_WPA_SUPPLICANT_ROAMING
445-
memset(&roaming_params, 0x0, sizeof(roaming_params));
446445
roaming_params.is_11r_used = params->ft_used;
447446
#endif
448447

0 commit comments

Comments
 (0)