Fix netdev and add Apache license to the file

This commit is contained in:
Alan C. Assis
2020-06-14 10:48:02 -03:00
committed by patacongo
parent 07c0faff59
commit e1be7ace4b
3 changed files with 29 additions and 63 deletions
+3 -3
View File
@@ -315,9 +315,9 @@ int netdev_register(FAR struct net_driver_s *dev, enum net_lltype_e lltype)
break;
#endif
case NET_LL_MBIM:
dev->d_llhdrlen = 0;
dev->d_pktsize = 1200;
devfmt = NETDEV_MBIM_FORMAT;
llhdrlen = 0;
pktsize = 1200;
devfmt = NETDEV_MBIM_FORMAT;
break;
default: