Bug 990

Summary: Error with an NS_ASSERT at uan-phy-gen.cc
Product: ns-3 Reporter: Salva Climent <jocliba>
Component: devicesAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: quincy.tse, tomh
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Salva Climent 2010-09-02 11:57:38 UTC
On uan-phy-gen.cc, inside the method

void UanPhyGen::TxEndEvent ()

there is an NS_ASSERT at line 509

NS_ASSERT (m_state = TX);

I'm not familiar with the code but maybe there should be an == instead of =
Comment 1 Quincy Tse 2010-10-05 21:13:50 UTC
Agree with change. It should also be noted that I do not know this code either - the recommendation is based only on the context of that line.
Comment 2 Tom Henderson 2010-10-06 01:50:58 UTC
changeset 14319edd3d2c