110-fix_status_polling_loop.patch 439 B

1234567891011
  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. DSL_CTX_WRITE(pContext, nErrCode, xtseCurr, xtseCurr);
  5. - for (nRetry = 0; nRetry < 20; nRetry++)
  6. + for (nRetry = 0; nRetry < 20 && bStatusUpdated == DSL_FALSE; nRetry++)
  7. {
  8. /* Get STAT1 info*/
  9. nErrCode = DSL_DRV_DANUBE_CmvRead(pContext, DSL_CMV_GROUP_STAT,