mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-09 06:25:16 +00:00
wireless/gs2200m/gs2200m_main.c: Add passing MSG flags
Add passing MSG_* flags for gs2200m driver.
This commit is contained in:
parent
c1bf012211
commit
4e1a22428a
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue