mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacmn: Add a check to not process DEL_MULTISTREAM event in wait state
Add a check to make sure that WLAN_GREEN_AP_DEL_MULTISTREAM_STA_EVENT event is not processed in wait state to avoid any disruptions in the qdf_timer running before when WLAN_GREEN_AP_DEL_STA_EVENT event was received. Change-Id: I7ca04243f5faa593afb65bd41db1f4bf3a8d4e74
This commit is contained in:
parent
b1cd82186a
commit
ae8ef356d8
1 changed files with 2 additions and 0 deletions
|
|
@ -276,6 +276,8 @@ QDF_STATUS wlan_green_ap_state_mc(struct wlan_pdev_green_ap_ctx *green_ap_ctx,
|
|||
green_ap_ctx->ps_mode == WLAN_GREEN_AP_MODE_NO_STA) ||
|
||||
(!green_ap_ctx->num_nodes_multistream &&
|
||||
green_ap_ctx->ps_mode == WLAN_GREEN_AP_MODE_NUM_STREAM)) {
|
||||
if (event == WLAN_GREEN_AP_DEL_MULTISTREAM_STA_EVENT)
|
||||
break;
|
||||
if ((channel == 0) || (channel_flags == 0)) {
|
||||
/*
|
||||
* Stay in the current state and restart the
|
||||
|
|
|
|||
Loading…
Reference in a new issue