diff --git a/src/wifi/model/wifi-net-device.cc b/src/wifi/model/wifi-net-device.cc index c1b4372e2..d7d778ed0 100644 --- a/src/wifi/model/wifi-net-device.cc +++ b/src/wifi/model/wifi-net-device.cc @@ -44,14 +44,6 @@ WifiNetDevice::GetTypeId() UintegerValue(MAX_MSDU_SIZE - LLC_SNAP_HEADER_LENGTH), MakeUintegerAccessor(&WifiNetDevice::SetMtu, &WifiNetDevice::GetMtu), MakeUintegerChecker(1, MAX_MSDU_SIZE - LLC_SNAP_HEADER_LENGTH)) - .AddAttribute("Channel", - "The channel attached to this device", - PointerValue(), - MakePointerAccessor(&WifiNetDevice::GetChannel), - MakePointerChecker(), - TypeId::SupportLevel::DEPRECATED, - "class WifiNetDevice; use the Channel " - "attribute of WifiPhy") .AddAttribute("Phy", "The PHY layer attached to this device.", PointerValue(),