Skip to content

Commit

Permalink
net/netdev/netdev_default.c: Exclude socket can from default devices
Browse files Browse the repository at this point in the history
Signed-off-by: Jukka Laitinen <[email protected]>
  • Loading branch information
jlaitine committed Oct 16, 2024
1 parent 09afb4d commit 08c9f63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/netdev/netdev_default.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ FAR struct net_driver_s *netdev_default(void)
* device).
*/

if (dev->d_lltype != NET_LL_LOOPBACK)
if (dev->d_lltype != NET_LL_LOOPBACK &&
dev->d_lltype != NET_LL_CAN)
{
ret = dev;
break;
Expand Down

0 comments on commit 08c9f63

Please sign in to comment.