Fixed UanPhyGen::IsStateBusy method bug

This commit is contained in:
Andrea Sacco
2011-01-25 19:42:58 +01:00
parent 1d194ada5c
commit c5dc2d552c
2 changed files with 2 additions and 1 deletions

View File

@@ -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
------------

View File

@@ -708,7 +708,7 @@ UanPhyGen::IsStateIdle (void)
bool
UanPhyGen::IsStateBusy (void)
{
return !IsStateIdle () || !IsStateSleep ();
return !IsStateIdle () && !IsStateSleep ();
}
bool
UanPhyGen::IsStateRx (void)