From: blogic Date: Wed, 3 Apr 2013 10:00:59 +0000 (+0000) Subject: [lantiq] revert patch that renames the worker thread as it seems to cause an oops X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=cd04d4e5f1559dea6ac53d3e6f365d26aaed782e;p=openwrt.git [lantiq] revert patch that renames the worker thread as it seems to cause an oops Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36185 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/platform/lantiq/ltq-adsl/patches/130-linux3.8.patch b/package/platform/lantiq/ltq-adsl/patches/130-linux3.8.patch index 21dbe6bd8d..bf758e0a90 100644 --- a/package/platform/lantiq/ltq-adsl/patches/130-linux3.8.patch +++ b/package/platform/lantiq/ltq-adsl/patches/130-linux3.8.patch @@ -71,15 +71,6 @@ Index: drv_dsl_cpe_api-3.24.4.4/src/common/drv_dsl_cpe_os_linux.c /*DSL_DRV_ThreadPriorityModify(pThrCntrl->nPriority);*/ pThrCntrl->thrParams.bRunning = 1; -@@ -629,7 +606,7 @@ - if (DSL_DRV_THREAD_INIT_VALID(pThrCntrl) == DSL_FALSE) - { - /* set thread function arguments */ -- strcpy(pThrCntrl->thrParams.pName, pName); -+ snprintf(pThrCntrl->thrParams.pName, DSL_DRV_THREAD_NAME_LEN, "adsl - %s", pName); - pThrCntrl->nPriority = nPriority; - pThrCntrl->thrParams.nArg1 = nArg1; - pThrCntrl->thrParams.nArg2 = nArg2; @@ -639,9 +616,7 @@ init_completion(&pThrCntrl->thrCompletion);