Attempt to fix network bug
This commit is contained in:
parent
4be752dd98
commit
34af0d3452
2 changed files with 15 additions and 0 deletions
|
@ -504,6 +504,9 @@ void NWM_UDS::HandleDataFrame(const Network::WifiPacket& packet) {
|
|||
|
||||
/// Callback to parse and handle a received wifi packet.
|
||||
void NWM_UDS::OnWifiPacketReceived(const Network::WifiPacket& packet) {
|
||||
if (!initialized) {
|
||||
return;
|
||||
}
|
||||
switch (packet.type) {
|
||||
case Network::WifiPacket::PacketType::Beacon:
|
||||
HandleBeaconFrame(packet);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue