Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions drivers/modem/vendor_standalone/simcom/sim7080/sim7080_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,16 @@ static int offload_ioctl(void *obj, unsigned int request, va_list args)
return offload_poll(fds, nfds, timeout);
}

case ZVFS_F_GETFL:
/* The socket is always blocking, no flags are set. */
return 0;

case ZVFS_F_SETFL:
/* Accept and ignore: the socket stays blocking, non-blocking
* reads are requested per call via MSG_DONTWAIT.
*/
return 0;

default:
errno = EINVAL;
return -1;
Expand Down
Loading