revert patch that renames the worker thread as it seems to cause an oops

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36185
lede-17.01
John Crispin 2013-04-03 10:00:59 +00:00
parent 30ee3ef24e
commit ab31b36b6e
1 changed files with 0 additions and 9 deletions

View File

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