From 6ff18a7f3b44cab10c6850cf0068a6695f97b4e2 Mon Sep 17 00:00:00 2001 From: "Alan C. Assis" Date: Sun, 14 Jun 2020 15:52:25 -0300 Subject: [PATCH] Rename NETDEV_WBIM_FORMAT with NETDEV_WWAM_FORMAT --- net/netdev/netdev_register.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/netdev/netdev_register.c b/net/netdev/netdev_register.c index de36143620..1ca7e546d4 100644 --- a/net/netdev/netdev_register.c +++ b/net/netdev/netdev_register.c @@ -55,7 +55,7 @@ #define NETDEV_PAN_FORMAT "pan%d" #define NETDEV_WLAN_FORMAT "wlan%d" #define NETDEV_WPAN_FORMAT "wpan%d" -#define NETDEV_MBIM_FORMAT "wwan%d" +#define NETDEV_WWAN_FORMAT "wwan%d" #if defined(CONFIG_DRIVERS_IEEE80211) /* Usually also has CONFIG_NET_ETHERNET */ # define NETDEV_DEFAULT_FORMAT NETDEV_WLAN_FORMAT @@ -317,7 +317,7 @@ int netdev_register(FAR struct net_driver_s *dev, enum net_lltype_e lltype) case NET_LL_MBIM: llhdrlen = 0; pktsize = 1200; - devfmt = NETDEV_MBIM_FORMAT; + devfmt = NETDEV_WWAN_FORMAT; break; default: