VOL-1239 OpenOLT - Fix Edgecore PON ports 8-15 are not usable
Change-Id: I38ca328cbf83abb62e42f14d1975c442893fc405
diff --git a/src/core.cc b/src/core.cc
index e1a6e3f..2923b9d 100644
--- a/src/core.cc
+++ b/src/core.cc
@@ -55,11 +55,11 @@
static Status SchedRemove_(int intf_id, int onu_id, int agg_port_id, int sched_id);
static inline int mk_sched_id(int intf_id, int onu_id) {
- return 1023 + intf_id * 112 + onu_id;
+ return 1023 + intf_id * 32 + onu_id;
}
static inline int mk_agg_port_id(int intf_id, int onu_id) {
- return 1023 + intf_id * 112 + onu_id;
+ return 1023 + intf_id * 32 + onu_id;
}