summaryrefslogtreecommitdiff
path: root/recipes-kernel/rs9113/rs9113-1.3.0/kthread.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/rs9113/rs9113-1.3.0/kthread.patch')
-rw-r--r--recipes-kernel/rs9113/rs9113-1.3.0/kthread.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/recipes-kernel/rs9113/rs9113-1.3.0/kthread.patch b/recipes-kernel/rs9113/rs9113-1.3.0/kthread.patch
deleted file mode 100644
index 485d0ff..0000000
--- a/recipes-kernel/rs9113/rs9113-1.3.0/kthread.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -rupN host/common_hal/osd/linux/onebox_thread.c host_new/common_hal/osd/linux/onebox_thread.c
---- host/common_hal/osd/linux/onebox_thread.c 2016-03-02 14:58:53.962962812 +0530
-+++ host_new/common_hal/osd/linux/onebox_thread.c 2016-03-02 14:54:04.111702855 +0530
-@@ -99,11 +99,12 @@ int kill_thread(onebox_thread_handle_t *
- 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 host/wlan/wlan_hal/osd_wlan/linux/onebox_wlan_osd_ops.c host_new/wlan/wlan_hal/osd_wlan/linux/onebox_wlan_osd_ops.c
---- host/wlan/wlan_hal/osd_wlan/linux/onebox_wlan_osd_ops.c 2016-03-02 14:58:53.956962786 +0530
-+++ host_new/wlan/wlan_hal/osd_wlan/linux/onebox_wlan_osd_ops.c 2016-03-02 14:52:32.287303701 +0530
-@@ -244,11 +244,12 @@ int kill_wlan_thread(WLAN_ADAPTER w_adap
- 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;