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
This commit is contained in:
Ratnam Rachuri 2015-08-14 15:18:46 +05:30 • committed by Prakash Dhavali
commit afc06d5699

View file

@ -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);