wifi: Remove accidental return causing some tests to be disabled

This commit is contained in:
Sébastien Deronne
2023-08-13 21:36:23 +02:00
parent 31b8b8fb3a
commit 448931b099

View File

@@ -1185,7 +1185,6 @@ SetChannelFrequencyTest::DoRun()
staDevice = wifi.Install(phy, macSta, wifiStaNode.Get(0));
phySta = GetYansWifiPhyPtr(staDevice);
phySta->SetAttribute("ChannelSettings", StringValue("{3, 20, BAND_2_4GHZ, 0}"));
return;
// Post-install reconfiguration to a 40 MHz channel
std::ostringstream path;
path << "/NodeList/*/DeviceList/" << staDevice.Get(0)->GetIfIndex()