SME: Process channel switch event in SME only when supplicant's SME is used
Do not process channel switch event in wpa_supplicant's SME when SME is offloaded to the driver/firmware to avoid SA Query initiation from both wpa_supplicant and the driver/firmware for the OCV case. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
0fa274d2bf
commit
596d99567a
1 changed files with 3 additions and 1 deletions
|
@ -4945,7 +4945,9 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
|
|||
}
|
||||
#endif /* CONFIG_AP */
|
||||
|
||||
if (wpa_s->drv_flags & WPA_DRIVER_FLAGS_SME)
|
||||
sme_event_ch_switch(wpa_s);
|
||||
|
||||
wpas_p2p_update_channel_list(wpa_s, WPAS_P2P_CHANNEL_UPDATE_CS);
|
||||
wnm_clear_coloc_intf_reporting(wpa_s);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue