SPRESENSE commented on code in PR #2647:
URL: https://github.com/apache/nuttx-apps/pull/2647#discussion_r1847495376


##########
lte/alt1250/alt1250_netdev.c:
##########
@@ -60,7 +60,7 @@ void alt1250_netdev_unregister(FAR struct alt1250_s *dev)
 
 void alt1250_netdev_ifdown(FAR struct alt1250_s *dev)
 {
-  dev->net_dev.d_flags = IFF_DOWN;
+  dev->net_dev.d_flags = ~IFF_UP;

Review Comment:
   @xiaoxiang781216 
   Sorry for the delay, let me confirm.
   Is this as you intended? Or is it a mistake?
   `dev->net_dev.d_flags &= ~IFF_UP;`



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to