nl80211: Clear frequency information on leaving mesh
Not doing this was resulting in test failures with many sequences of a mesh test case (e.g., wpas_mesh_peer_connected) followed by ap_csa_1_switch which was checking the driver wrapper frequency information at the beginning. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
1f26a0a34c
commit
f9905f8d94
1 changed files with 1 additions and 0 deletions
|
@ -10626,6 +10626,7 @@ static int wpa_driver_nl80211_leave_mesh(void *priv)
|
||||||
} else {
|
} else {
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
"nl80211: mesh leave request send successfully");
|
"nl80211: mesh leave request send successfully");
|
||||||
|
drv->first_bss->freq = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (drv->start_mode_sta &&
|
if (drv->start_mode_sta &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue