This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 6c3a952d11080be935091221f4606506773812c6 Author: Bowen Wang <[email protected]> AuthorDate: Mon Nov 23 18:35:36 2026 +0800 net/usrsock/usrsock_ioctl: fix nxstyle errors Add the blank line after declarations that tools/nxstyle requires, so later changes to this file pass checkpatch. No functional change. Signed-off-by: Bowen Wang <[email protected]> --- net/usrsock/usrsock_ioctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/usrsock/usrsock_ioctl.c b/net/usrsock/usrsock_ioctl.c index 35d1a4b939d..93e8478c1cd 100644 --- a/net/usrsock/usrsock_ioctl.c +++ b/net/usrsock/usrsock_ioctl.c @@ -136,6 +136,7 @@ static int do_ioctl_request(FAR struct usrsock_conn_s *conn, int cmd, if (WL_IS80211POINTERCMD(cmd)) { FAR struct iwreq *wlreq = arg; + bufs[2].iov_base = wlreq->u.data.pointer; bufs[2].iov_len = wlreq->u.data.length; } @@ -224,6 +225,7 @@ int usrsock_ioctl(FAR struct socket *psock, int cmd, unsigned long arg_) if (WL_IS80211POINTERCMD(cmd)) { FAR struct iwreq *wlreq = arg; + inbufs[1].iov_base = wlreq->u.data.pointer; inbufs[1].iov_len = wlreq->u.data.length; }
