Commit 09652061 authored by Robert Schmidt's avatar Robert Schmidt

Lower RFsim EAGAIN error message to debug message

We set the RFsim TCP socket to non-blocking. Thus, it may happen that we
cannot write() to the socket when the kernel cannot handle the request,
in which case we wait some time before trying again. This is the
correct/expected behavior.

Since this is *normal*, an error message is not justified; we did not
even print a message in this case before commit 21790f9c introduced it.
parent 61cc505f
...@@ -314,7 +314,7 @@ static void fullwrite(int fd, void *_buf, ssize_t count, rfsimulator_state_t *t) ...@@ -314,7 +314,7 @@ static void fullwrite(int fd, void *_buf, ssize_t count, rfsimulator_state_t *t)
continue; continue;
if (errno == EAGAIN) { if (errno == EAGAIN) {
LOG_E(HW, "write() failed, errno(%d)\n", errno); LOG_D(HW, "write() failed, errno(%d)\n", errno);
usleep(250); usleep(250);
continue; continue;
} else } else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment