Device: sendEthPhyMsg(): Drop online requirement

pull/76/merge
Kyle Schwarz 2025-11-04 11:06:51 -05:00
parent 563c444def
commit e3f4bbdc73
1 changed files with 0 additions and 4 deletions

View File

@ -2090,10 +2090,6 @@ std::optional<EthPhyMessage> Device::sendEthPhyMsg(const EthPhyMessage& message,
report(APIEvent::Type::EthPhyRegisterControlNotAvailable, APIEvent::Severity::Error);
return std::nullopt;
}
if(!isOnline()) {
report(APIEvent::Type::DeviceCurrentlyOffline, APIEvent::Severity::Error);
return std::nullopt;
}
std::vector<uint8_t> bytes;
HardwareEthernetPhyRegisterPacket::EncodeFromMessage(message, bytes, report);