瀏覽代碼

qcacld-3.0: make non-interruptable wait for Tlshim Rx shutdown

qcacld-2.0 to qcacld-3.0 propagation

replace wait_for_completion_interruptible with wait_for_completion
to do Tlshim Rx shutdown with non-interruptible call.

Change-Id: I09a70fd2818db42401ba2ca91a75244c1f07557e
CRs-Fixed: 820482
Ratnam Rachuri 9 年之前
父節點
當前提交
afc06d5699
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      core/cds/src/cds_sched.c

+ 1 - 2
core/cds/src/cds_sched.c

@@ -926,8 +926,7 @@ CDF_STATUS cds_sched_close(void *p_cds_context)
 	set_bit(RX_SHUTDOWN_EVENT_MASK, &gp_cds_sched_context->ol_rx_event_flag);
 	set_bit(RX_POST_EVENT_MASK, &gp_cds_sched_context->ol_rx_event_flag);
 	wake_up_interruptible(&gp_cds_sched_context->ol_rx_wait_queue);
-	wait_for_completion_interruptible
-		(&gp_cds_sched_context->ol_rx_shutdown);
+	wait_for_completion(&gp_cds_sched_context->ol_rx_shutdown);
 	gp_cds_sched_context->ol_rx_thread = NULL;
 	cds_drop_rxpkt_by_staid(gp_cds_sched_context, WLAN_MAX_STA_COUNT);
 	cds_free_ol_rx_pkt_freeq(gp_cds_sched_context);