lte/alt1250: Fix issue that ifconfig does not work
Add SIOCGIFFLAGS support for ifconfig command.
This commit is contained in:
parent
a8598aa8d2
commit
9a11ede5ff
@ -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:
|
||||
|
@ -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. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user