wifi: Fix assert hit if channel switch delay is set to zero
This commit is contained in:
committed by
Stefano Avallone
parent
e474944d82
commit
ffb2d15399
@@ -452,7 +452,7 @@ WifiPhyStateHelper::SwitchToChannelSwitching (Time switchingDuration)
|
||||
m_startSwitching = now;
|
||||
m_endSwitching = now + switchingDuration;
|
||||
NotifySwitchingStart (switchingDuration);
|
||||
NS_ASSERT (IsStateSwitching ());
|
||||
NS_ASSERT (switchingDuration.IsZero () || IsStateSwitching ());
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user