wifi: Notify MAC when channel switching is completed
This commit is contained in:
committed by
Stefano Avallone
parent
a5adf75663
commit
3313fbbb97
@@ -945,7 +945,7 @@ void
|
||||
FrameExchangeManager::NotifySwitchingStartNow (Time duration)
|
||||
{
|
||||
NS_LOG_DEBUG ("Switching channel. Cancelling MAC pending events");
|
||||
m_mac->NotifyChannelSwitching ();
|
||||
Simulator::Schedule (duration, &WifiMac::NotifyChannelSwitching, m_mac);
|
||||
if (m_txTimer.IsRunning ())
|
||||
{
|
||||
// we were transmitting something before channel switching. Since we will
|
||||
|
||||
Reference in New Issue
Block a user