normanr commented on code in PR #4335: URL: https://github.com/apache/incubator-nuttx/pull/4335#discussion_r906875320
########## 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: @SunJun8: Why this change? It seems to have been introduced in https://github.com/apache/incubator-nuttx/commit/79d35067fb9b03f52e0d8e383748a2c306ebf451, but I don't understand why. -- 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