move ltq-adsl
[openwrt/staging/yousong.git] / package / platform / lantiq / ltq-adsl / patches / 110-fix_status_polling_loop.patch
1 --- a/src/device/drv_dsl_cpe_device_danube.c
2 +++ b/src/device/drv_dsl_cpe_device_danube.c
3 @@ -4069,7 +4069,7 @@ static DSL_Error_t DSL_DRV_DANUBE_XTUSys
4
5 DSL_CTX_WRITE(pContext, nErrCode, xtseCurr, xtseCurr);
6
7 - for (nRetry = 0; nRetry < 20; nRetry++)
8 + for (nRetry = 0; nRetry < 20 && bStatusUpdated == DSL_FALSE; nRetry++)
9 {
10 /* Get STAT1 info*/
11 nErrCode = DSL_DRV_DANUBE_CmvRead(pContext, DSL_CMV_GROUP_STAT,