You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/12/06 15:03:29 UTC

[incubator-nuttx] 10/18: wireless/bluetooth/bt_conn.c: Avoid assuming wlinfo expansion

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 14b7ea01ba83dfcd1d84b5931f1af9b9b020922b
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Mon Nov 23 17:26:25 2020 +0900

    wireless/bluetooth/bt_conn.c: Avoid assuming wlinfo expansion
---
 wireless/bluetooth/bt_conn.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/wireless/bluetooth/bt_conn.c b/wireless/bluetooth/bt_conn.c
index 0c13f8b..cfa934a 100644
--- a/wireless/bluetooth/bt_conn.c
+++ b/wireless/bluetooth/bt_conn.c
@@ -92,7 +92,6 @@ static struct bt_conn_handoff_s g_conn_handoff =
  * Private Functions
  ****************************************************************************/
 
-#ifdef CONFIG_DEBUG_WIRELESS_INFO
 static const char *state2str(enum bt_conn_state_e state)
 {
   switch (state)
@@ -116,7 +115,6 @@ static const char *state2str(enum bt_conn_state_e state)
       return "(unknown)";
     }
 }
-#endif
 
 static void bt_conn_reset_rx_state(FAR struct bt_conn_s *conn)
 {