net/netdev/netdev_default.c: Exclude socket can from default devices
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
parent
848b596a12
commit
313b2cd1ed
|
@ -75,7 +75,8 @@ FAR struct net_driver_s *netdev_default(void)
|
||||||
* device).
|
* device).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (dev->d_lltype != NET_LL_LOOPBACK)
|
if (dev->d_lltype != NET_LL_LOOPBACK &&
|
||||||
|
dev->d_lltype != NET_LL_CAN)
|
||||||
{
|
{
|
||||||
ret = dev;
|
ret = dev;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue