diff --git a/src/devices/wifi/wifi-helper.cc b/src/devices/wifi/wifi-helper.cc index 589d9643c..69c373c41 100644 --- a/src/devices/wifi/wifi-helper.cc +++ b/src/devices/wifi/wifi-helper.cc @@ -110,7 +110,10 @@ WifiHelper::Build (NodeContainer c, Ptr channel) const Ptr manager = m_stationManager.Create (); Ptr mac = m_mac.Create (); Ptr phy = m_phy.Create (); - device->Setup (node, mac, phy, manager, channel); + device->SetMac (mac); + device->SetPhy (phy); + device->SetRemoteStationManager (manager); + device->SetChannel (channel); node->AddDevice (device); devices.Add (device); NS_LOG_DEBUG ("node="<