message: sdk: Ethernet: check if getFrame() succeded on target
diff: @@ -358,6 +358,12 @@ aditof::Status EthernetDevice::getFrame(uint16_t *buffer) {
  return Status::GENERIC_ERROR;
  }
  + Status status = static_cast<Status>(net->recv_buff.status());
  + if (status != Status::OK) {
  + LOG(WARNING) << "getFrame() failed on target";
  + return status;
  + }
  +
  // Deinterleave data. The server sends raw data (uninterleaved) for better
  // throughput (raw data chunck is smaller, deinterleaving is usually slower
  // on target).
  @@ -367,8 +373,6 @@ aditof::Status EthernetDevice::getFrame(uint16_t *buffer) {
  m_implData->frameDetails_cache.width,
  m_implData->frameDetails_cache.height);
  - Status status = static_cast<Status>(net->recv_buff.status());
  -
  return status;
  }
  