Prechádzať zdrojové kódy

qcacld-3.0: Handle concurrency scenarios in LPC mode

Currently if STA + LPC is running and new interface is brought up
in case of monitor_mode_concurrency ini enable case only LPC
is terminated. if monitor_mode_concurrency ini is disabled LPC
will not be terminated and LPC will continue to run in concurrency
scenario.

To fix the issue remove check for monitor_mode_concurrency and delete
LPC interface directly in concurrency scenarios.

CRs-Fixed: 3849400
Change-Id: Ie0d7f6f942b973e5fc7944430cf5aaa9b0bdf538
Amit Mehta 1 rok pred
rodič
commit
b661bb7ae7
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 2
      core/hdd/src/wlan_hdd_main.c

+ 1 - 2
core/hdd/src/wlan_hdd_main.c

@@ -594,8 +594,7 @@ wlan_hdd_lpc_del_monitor_interface(struct hdd_context *hdd_ctx,
 void wlan_hdd_lpc_handle_concurrency(struct hdd_context *hdd_ctx,
 				     bool is_virtual_iface)
 {
-	if (policy_mgr_is_sta_mon_concurrency(hdd_ctx->psoc))
-		wlan_hdd_lpc_del_monitor_interface(hdd_ctx, is_virtual_iface);
+	wlan_hdd_lpc_del_monitor_interface(hdd_ctx, is_virtual_iface);
 }
 
 bool hdd_lpc_is_work_scheduled(struct hdd_context *hdd_ctx)