[VOL-5389] Corrected the low priority tid increment in GetOnuSwSecNextTid function
Change-Id: I4536d0ebfd1df80f4ad83bb7543b729d218f95f9
Signed-off-by: bseeniva <balaji.seenivasan@radisys.com>
diff --git a/VERSION b/VERSION
index 962fc0d..1b3a7b3 100755
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.12.10-dev6
+2.12.10-dev7
diff --git a/internal/pkg/common/omci_cc.go b/internal/pkg/common/omci_cc.go
index 0f3c3e7..f9f850b 100755
--- a/internal/pkg/common/omci_cc.go
+++ b/internal/pkg/common/omci_cc.go
@@ -750,11 +750,11 @@
// onu sw sections uses only low priority tids
// The mutexTid lock should be taken prior to using this function
func (oo *OmciCC) GetOnuSwSecNextTid() uint16 {
- next := oo.tid
- oo.tid++
if oo.tid >= 0x8000 {
oo.tid = 1
}
+ next := oo.tid
+ oo.tid++
return next
}