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
@ -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…
Reference in New Issue
Block a user