mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 18:58:27 +08:00
Correct some errors found in build testing.
This commit is contained in:
@@ -377,7 +377,7 @@ static int pkt_bind(FAR struct socket *psock, FAR const struct sockaddr *addr,
|
||||
|
||||
/* Only Ethernet is supported */
|
||||
|
||||
if (d_lltype != NET_LL_ETHERNET)
|
||||
if (dev->d_lltype != NET_LL_ETHERNET)
|
||||
{
|
||||
return -EAFNOSUPPORT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user