xiaoxiang781216 commented on code in PR #15237:
URL: https://github.com/apache/nuttx/pull/15237#discussion_r1888119739


##########
wireless/bluetooth/bt_netdev.c:
##########
@@ -103,7 +103,7 @@ struct btnet_driver_s
 
   /* For internal use by this driver */
 
-  bool bd_bifup;                     /* true:ifup false:ifdown */
+  atomic_t bd_bifup;                 /* true:ifup false:ifdown */

Review Comment:
   let's remove directly and call IFF_IS_RUNNING(dev->d_flags) instead



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