You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ma...@apache.org on 2020/08/06 11:52:22 UTC
[incubator-nuttx-apps] 03/05: wireless/gs2200m/gs2200m_main.c: Add
passing MSG flags
This is an automated email from the ASF dual-hosted git repository.
masayuki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 4e1a22428a7a9c7fe17e7acfa1bee89b2052f225
Author: SPRESENSE <41...@users.noreply.github.com>
AuthorDate: Thu Aug 6 10:50:56 2020 +0900
wireless/gs2200m/gs2200m_main.c: Add passing MSG flags
Add passing MSG_* flags for gs2200m driver.
---
wireless/gs2200m/gs2200m_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/wireless/gs2200m/gs2200m_main.c b/wireless/gs2200m/gs2200m_main.c
index 0a45279..fe58160 100644
--- a/wireless/gs2200m/gs2200m_main.c
+++ b/wireless/gs2200m/gs2200m_main.c
@@ -853,6 +853,7 @@ static int recvfrom_request(int fd, FAR struct gs2200m_s *priv,
rmsg.cid = usock->cid;
rmsg.reqlen = req->max_buflen;
rmsg.is_tcp = (usock->type == SOCK_STREAM) ? true : false;
+ rmsg.flags = req->flags;
ret = ioctl(priv->gsfd, GS2200M_IOC_RECV,
(unsigned long)&rmsg);