aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-vdsl-vr9/patches/210-fix-us-eftrmin.patch
blob: 51651f476a329e353744f6e259c93bca3a696caf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/src/pm/drv_dsl_cpe_api_pm_vrx.c
+++ b/src/pm/drv_dsl_cpe_api_pm_vrx.c
@@ -1435,9 +1435,16 @@ DSL_Error_t DSL_DRV_PM_DEV_ReTxCountersG
       /* ignore zero value*/
       if (nEftrMin)
       {
-         /* Fw Format:  kBit/s */
-         /* API format: bit/s */
-         pCounters->nEftrMin = nEftrMin*1000;
+         if (nDirection == DSL_NEAR_END)
+         {
+            /* Fw Format:  kBit/s */
+            /* API format: bit/s */
+            pCounters->nEftrMin = nEftrMin*1000;
+         }
+         else
+         {
+            pCounters->nEftrMin = nEftrMin;
+         }
       }
    }
    else