mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
wireless: gs2200m: Fix error handling in sendto_request()
Summary: - This commit returns -errno to the caller Impact: - gs2200m only Testing: - Tested with spresense:wifi_smp - NOTE: need to update the gs2200m driver in NuttX Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
parent
c7f28f5f9e
commit
21f48846dd
1 changed files with 1 additions and 1 deletions
|
|
@ -815,7 +815,7 @@ static int sendto_request(int fd, FAR struct gs2200m_s *priv,
|
|||
|
||||
if (0 != nret)
|
||||
{
|
||||
ret = -EINVAL;
|
||||
ret = -errno;
|
||||
goto prepare;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue