diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 8b9859ebd..1a82bf274 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -164,6 +164,7 @@ since ns-3.9, in many cases referencing the Bugzilla bug number - bug 1030 - routing/aodv example fixed - bug 1031 - Wifi hidden terminal example does not work - bug 1032 - Unable to specify multiple Compiler/Linker flags + - Fixed the UanPhyGen::IsStateBusy method, error with logical OR Known issues ------------ diff --git a/src/devices/uan/model/uan-phy-gen.cc b/src/devices/uan/model/uan-phy-gen.cc index 5d6c8a9ab..2ac9bb2d2 100644 --- a/src/devices/uan/model/uan-phy-gen.cc +++ b/src/devices/uan/model/uan-phy-gen.cc @@ -708,7 +708,7 @@ UanPhyGen::IsStateIdle (void) bool UanPhyGen::IsStateBusy (void) { - return !IsStateIdle () || !IsStateSleep (); + return !IsStateIdle () && !IsStateSleep (); } bool UanPhyGen::IsStateRx (void)