This is an automated email from the ASF dual-hosted git repository.
jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new e4af73e wireless: gs2200m: Fix sendto_request() in gs2200m_main.c
e4af73e is described below
commit e4af73ec562dfefaae64b3285914ac00b85fb50e
Author: Masayuki Ishikawa <[email protected]>
AuthorDate: Tue Jan 28 17:15:35 2020 +0900
wireless: gs2200m: Fix sendto_request() in gs2200m_main.c
Signed-off-by: Masayuki Ishikawa <<[email protected]>
---
wireless/gs2200m/gs2200m_main.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/wireless/gs2200m/gs2200m_main.c b/wireless/gs2200m/gs2200m_main.c
index 7769f9d..9f7d559 100644
--- a/wireless/gs2200m/gs2200m_main.c
+++ b/wireless/gs2200m/gs2200m_main.c
@@ -802,7 +802,9 @@ static int sendto_request(int fd, FAR struct gs2200m_s
*priv,
goto prepare;
}
- ret = req->buflen;
+ /* return length which gs2200m sent */
+
+ ret = smsg.len;
}
prepare: