From afc06d5699b835d273dd6804dd8e30906e7ee59f Mon Sep 17 00:00:00 2001 From: Ratnam Rachuri Date: Fri, 14 Aug 2015 15:18:46 +0530 Subject: [PATCH] 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 --- core/cds/src/cds_sched.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/cds/src/cds_sched.c b/core/cds/src/cds_sched.c index 07c8df060a53..873555d5d21c 100644 --- a/core/cds/src/cds_sched.c +++ b/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);