diff --git a/lte/alt1250/alt1250_usockif.c b/lte/alt1250/alt1250_usockif.c index 33a91a203..08486a364 100644 --- a/lte/alt1250/alt1250_usockif.c +++ b/lte/alt1250/alt1250_usockif.c @@ -267,6 +267,7 @@ int usockif_readreqioctl(int fd, FAR struct usrsock_request_buff_s *buf) rsize = sizeof(struct lte_ioctl_data_s); break; case SIOCSIFFLAGS: + case SIOCGIFFLAGS: rsize = sizeof(struct ifreq); break; case SIOCDENYINETSOCK: diff --git a/lte/alt1250/usock_handlers/alt1250_ioctlhdlr.c b/lte/alt1250/usock_handlers/alt1250_ioctlhdlr.c index 8861c6643..568d19928 100644 --- a/lte/alt1250/usock_handlers/alt1250_ioctlhdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_ioctlhdlr.c @@ -66,6 +66,7 @@ int usockreq_ioctl(FAR struct alt1250_s *dev, switch (request->cmd) { case FIONBIO: + case SIOCGIFFLAGS: /* ALT1250 doesn't use this command. Only return OK. */