blob: f802c382053b2d379811b8dcf3c4b6827fa1cf54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
diff -ruPN old/source/host/common_hal/osd/linux/onebox_thread.c new/source/host/common_hal/osd/linux/onebox_thread.c
--- old/source/host/common_hal/osd/linux/onebox_thread.c 2016-08-03 10:15:47.000000000 -0500
+++ new/source/host/common_hal/osd/linux/onebox_thread.c 2016-08-03 12:10:00.000000000 -0500
@@ -99,11 +99,12 @@
atomic_inc(&handle->thread_done);
ONEBOX_DEBUG(ONEBOX_ZONE_INFO,(TEXT("In %s Before setting event\n"),__func__));
rsi_set_event(&handle->thread_event);
- wait_for_completion(&handle->thread_complete);
+ //wait_for_completion(&handle->thread_complete);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)
//handle->thread_id = NULL;
kthread_stop(handle->thread_id);
#else
+ wait_for_completion(&handle->thread_complete);
handle->thread_id = 0;
#endif
#endif
diff -ruPN old/source/host/wlan/wlan_hal/osd_wlan/linux/onebox_wlan_osd_ops.c new/source/host/wlan/wlan_hal/osd_wlan/linux/onebox_wlan_osd_ops.c
--- old/source/host/wlan/wlan_hal/osd_wlan/linux/onebox_wlan_osd_ops.c 2016-08-03 10:15:48.000000000 -0500
+++ new/source/host/wlan/wlan_hal/osd_wlan/linux/onebox_wlan_osd_ops.c 2016-08-03 12:10:00.000000000 -0500
@@ -244,11 +244,12 @@
atomic_inc(&w_adapter->txThreadDone);
ONEBOX_DEBUG(ONEBOX_ZONE_INFO,(TEXT("In %s Before setting event\n"),__func__));
os_intf_ops->onebox_set_event(&(w_adapter->sdio_scheduler_event));
- wait_for_completion(&w_adapter->txThreadComplete);
+ //wait_for_completion(&w_adapter->txThreadComplete);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)
//handle->thread_id = NULL;
kthread_stop(handle->thread_id);
#else
+ wait_for_completion(&w_adapter->txThreadComplete);
handle->thread_id = 0;
#endif
return ONEBOX_STATUS_SUCCESS;
|