SunJun8 commented on code in PR #4335: URL: https://github.com/apache/incubator-nuttx/pull/4335#discussion_r907016676
########## arch/risc-v/src/bl602/bl602_netdev.c: ########## @@ -2120,10 +2122,12 @@ void bl602_net_event(int evt, int val) case CODE_WIFI_ON_DISCONNECT: do { - struct bl602_net_driver_s *priv = &g_bl602_net[0]; + /* struct bl602_net_driver_s *priv = &g_bl602_net[0]; */ + if (g_state.sta_connected == 1) { - netdev_carrier_off(&priv->net_dev); + /* netdev_carrier_off(&priv->net_dev); */ Review Comment: This looks like a change introduced due to a requirement. There may be some issues that need to be resolved at the time. This change is outdated. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org