提交 08660a71 编写于 作者: O openharmony_ci 提交者: Gitee

!11 【轻量级 PR】:fix #I2E09L

Merge pull request !11 from Caoruihong/N/A
......@@ -176,7 +176,7 @@ eth_drv_send(struct netif *usb_netif, struct pbuf *p)
sg_list[sg_len++].len = q->len;
}
(drv_sc->funs->send) (sc, sg_list, sg_len, p->tot_len, (UINTPTR)p);
(drv_sc->funs->send) (sc, sg_list, sg_len, p ? p->tot_len : 0, (UINTPTR)p);
}
const struct los_eth_funs eth_drv_funs_usb = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册