comtroller: exit the recv thread in the case of error
When an error happen during a read operation,
the thread continuously try to read again, and break down the performances.
If something is going wrong during a read operation,
exit the thread instead of trying to read again.
Signed-off-by:
Alexandre Bailon <abailon@baylibre.com>
Please register or sign in to comment