examples: Cleanup ssid setting in multirate wireless example

This commit is contained in:
Sébastien Deronne
2018-03-28 12:27:56 +02:00
parent b0e8d12ac9
commit 562ed45672

View File

@@ -590,10 +590,9 @@ int main (int argc, char *argv[])
WifiMacHelper wifiMac;
YansWifiPhyHelper wifiPhy = YansWifiPhyHelper::Default ();
YansWifiChannelHelper wifiChannel = YansWifiChannelHelper::Default ();
Ssid ssid = Ssid ("Testbed");
wifiMac.SetType ("ns3::AdhocWifiMac",
"Ssid", SsidValue (ssid));
"Ssid", StringValue ("Testbed"));
wifi.SetStandard (WIFI_PHY_STANDARD_holland);
wifi.SetRemoteStationManager (experiment.GetRateManager ());