Followup to changeset efed7493f2c1: Forgot to forward the start event to the MAC layer.

This commit is contained in:
Mathieu Lacage
2009-11-16 16:18:06 +01:00
parent b9ba4cd5bc
commit 5f5a5d01d2
2 changed files with 10 additions and 0 deletions

View File

@@ -91,6 +91,15 @@ WifiNetDevice::DoDispose (void)
NetDevice::DoDispose ();
}
void
WifiNetDevice::DoStart (void)
{
m_phy->Start ();
m_mac->Start ();
m_stationManager->Start ();
NetDevice::DoStart ();
}
void
WifiNetDevice::CompleteConfig (void)
{

View File

@@ -104,6 +104,7 @@ public:
private:
virtual void DoDispose (void);
virtual void DoStart (void);
void ForwardUp (Ptr<Packet> packet, Mac48Address from, Mac48Address to);
void LinkUp (void);
void LinkDown (void);