diff --git a/net/netdev/netdev_ioctl.c b/net/netdev/netdev_ioctl.c index 38151fb063..2f5a44f94d 100644 --- a/net/netdev/netdev_ioctl.c +++ b/net/netdev/netdev_ioctl.c @@ -1931,7 +1931,7 @@ int netdev_ifdown(FAR struct net_driver_s *dev) { /* Mark the interface as down */ - dev->d_flags &= ~IFF_UP; + dev->d_flags &= ~(IFF_UP | IFF_RUNNING); /* Update the driver status */