commit | 694026ed2e9c6037d7c0c5654d44cfaf76b19436 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Thu Jul 08 16:18:01 2021 +0000 |
committer | Gerrit Code Review <gerrit@opencord.org> | Thu Jul 08 16:18:01 2021 +0000 |
tree | be8b1a45b9f5aec889101d057c300599df54b5d1 | |
parent | 04a7013b9d6ef605740475f061b42e41d162410a [diff] | |
parent | a9875ddcbaf846e970826004db51f9a15a465911 [diff] |
Merge "Releasing BBSim version 1.8.0 for VOLTHA-2.8"
diff --git a/internal/bbsim/devices/uni_port.go b/internal/bbsim/devices/uni_port.go index da16dcc..eeda028 100644 --- a/internal/bbsim/devices/uni_port.go +++ b/internal/bbsim/devices/uni_port.go
@@ -208,6 +208,9 @@ } func (u *UniPort) Disable() error { + if u.OperState.Is(UniStateDown) { + return nil + } return u.OperState.Event(uniTxDisable) }