commit | 49ad7590728880f967dbc31876679a9dbd10d014 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Mon Sep 03 16:46:34 2018 +0200 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Mon Sep 03 18:53:52 2018 +0200 |
tree | 0314924ca41662d1dd3ee6a1af22f361201fea46 | |
parent | 8e498bfd354ad0d6042fd9c88e9ffa1f40ef5ff4 [diff] |
lms: Return error on device read timeout If LImeSDR device is unplugged or its fw crashes during operation, reading from the device will fail and will first receive short reads and finally 0 byte reads. Let's quickly notify these events to upper layers instead of trying to process the buffer and checking timestamps for something we know it's already not useful. Related: OS#3340 Change-Id: Ib1af8cdd6cdadf581b039882add4049eea45a0f7