Browse Source

qcacld-3.0: Allow suspend only when bss color change count is zero

Allow suspend only when bss color change countdown is zero, otherwise
wlan driver will enter into suspend while bss color change is in
progress and it will lead to delay in bss color change.

Change-Id: Ia14b49e34191ec56cb853d68e16be61c585cf25a
CRs-Fixed: 3444353
Surabhi Vishnoi 2 năm trước cách đây
mục cha
commit
a19a20c4d4
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      core/mac/src/pe/lim/lim_send_sme_rsp_messages.c

+ 2 - 1
core/mac/src/pe/lim/lim_send_sme_rsp_messages.c

@@ -2518,9 +2518,10 @@ lim_handle_bss_color_change_ie(struct mac_context *mac_ctx,
 			lim_send_obss_color_collision_cfg(
 				mac_ctx, session,
 				OBSS_COLOR_COLLISION_DETECTION);
+			wma_allow_suspend_after_obss_color_change(
+								session->vdev);
 		}
 		lim_send_bss_color_change_ie_update(mac_ctx, session);
-		wma_allow_suspend_after_obss_color_change(session->vdev);
 	}
 }