Skip to content
Commit d66d748b authored by Xavier Chapron's avatar Xavier Chapron Committed by Anas Nashif
Browse files

drivers: modem: sara-r4: Improve offload_sendmsg() support



Previously, msghdr was handled by forwarding each msg_iov to
offload_sendto() one by one.
This is not optimal, as msg_iov payload might have been sent
simultaneously which would be faster.
With this commit, send_socket_data() expect payload to be formated as
struct msghdr which can be used directly by both offload_sendto() and
offload_sendmsg().

Signed-off-by: default avatarXavier Chapron <xavier.chapron@stimio.fr>
parent 6020d4ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment