This commit fixes netdev_ifrioctl() so that it can handle SIOCGLIFMTU
and SIOCGIFMTU ioctls properly, which returns MTU sizes.
Change-Id: I07f044e4bc69c5b538d9acde77120f00774df0f9
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
}
break;
#endif
-
+#endif
case SIOCGLIFMTU: /* Get MTU size */
case SIOCGIFMTU: { /* Get MTU size */
dev = netdev_ifrdev(req);
}
break;
-#endif
case SIOCSIFFLAGS: { /* Sets the interface flags */
/* Is this a request to bring the interface up? */