src/devices/wifi/wifi-net-device.cc
changeset 2528 a527ec47b756
parent 2524 db72c0e7743e
child 2530 05f9cec44621
--- a/src/devices/wifi/wifi-net-device.cc	Sun Mar 02 01:53:06 2008 +0100
+++ b/src/devices/wifi/wifi-net-device.cc	Sun Mar 02 01:53:26 2008 +0100
@@ -58,9 +58,9 @@
   m_phy = phy;
   m_stationManager = manager;
 
-  manager->SetupPhy (phy);
+  m_stationManager->SetupPhy (m_phy);
 
-  m_mac->SetWifiRemoteStationManager (manager);
+  m_mac->SetWifiRemoteStationManager (m_stationManager);
   m_mac->SetWifiPhy (m_phy);
   m_mac->SetForwardUpCallback (MakeCallback (&WifiNetDevice::ForwardUp, this));
   m_mac->SetLinkUpCallback (MakeCallback (&WifiNetDevice::LinkUp, this));
@@ -68,8 +68,6 @@
   channel->Add (this, m_phy);
 
   m_phy->SetChannel (channel);
-  //XXX
-  //m_stationManager->
 }
 Ptr<WifiMac> 
 WifiNetDevice::GetMac (void) const