RT-Thread/rt-thread — pull request #187 by grissiom (2013-10-25 13:33:15+00:00)
Title: Revert "serial: set the errno if and only if in thread context"

This reverts commit 07bd09fc0fc256e5c53ad3c6157802fd94c9910c.
The validation of the context is done with in `rt_set_errno`. So it's
safe to call it here.

The bug was temporarily fixed by the previous commit.