patacongo commented on a change in pull request #1233:
URL: https://github.com/apache/incubator-nuttx/pull/1233#discussion_r439834008



##########
File path: net/netdev/netdev_register.c
##########
@@ -313,6 +314,11 @@ int netdev_register(FAR struct net_driver_s *dev, enum 
net_lltype_e lltype)
             devfmt   = NETDEV_TUN_FORMAT;
             break;
 #endif
+        case NET_LL_MBIM:
+          llhdrlen = 0;
+          pktsize  = 1200;
+          devfmt   = NETDEV_MBIM_FORMAT;
+          break;

Review comment:
       That code sequence must be enclosed in conditional compilation base on 
CONFIG_USBHOST_CDCMBIM as are all other MAC layers.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to