File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -930,6 +930,9 @@ config NET_DEFAULT_IF_PPP
930
930
bool "PPP interface"
931
931
depends on NET_L2_PPP
932
932
933
+ config NET_DEFAULT_IF_OFFLOADED_NETDEV
934
+ bool "Offloaded network device"
935
+
933
936
config NET_DEFAULT_IF_WIFI
934
937
bool "WiFi interface"
935
938
depends on NET_L2_ETHERNET
Original file line number Diff line number Diff line change @@ -632,6 +632,9 @@ struct net_if *net_if_get_default(void)
632
632
#if defined(CONFIG_NET_DEFAULT_IF_PPP )
633
633
iface = net_if_get_first_by_type (& NET_L2_GET_NAME (PPP ));
634
634
#endif
635
+ #if defined(CONFIG_NET_DEFAULT_IF_OFFLOADED_NETDEV )
636
+ iface = net_if_get_first_by_type (& NET_L2_GET_NAME (OFFLOADED_NETDEV ));
637
+ #endif
635
638
#if defined(CONFIG_NET_DEFAULT_IF_UP )
636
639
iface = net_if_get_first_up ();
637
640
#endif
You can’t perform that action at this time.
0 commit comments