You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/10/30 07:38:24 UTC

[incubator-nuttx] 01/07: bt_netdev: remove invalid assert breaking build when debugging is enabled

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

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

commit 83193d634db7afc0ce07e7742ea2463e41d03440
Author: Matias N <ma...@protobits.dev>
AuthorDate: Sat Oct 24 23:24:41 2020 -0300

    bt_netdev: remove invalid assert breaking build when debugging is enabled
---
 wireless/bluetooth/bt_netdev.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/wireless/bluetooth/bt_netdev.c b/wireless/bluetooth/bt_netdev.c
index ee314f9..bc31c1d 100644
--- a/wireless/bluetooth/bt_netdev.c
+++ b/wireless/bluetooth/bt_netdev.c
@@ -1064,8 +1064,6 @@ int bt_netdev_register(FAR const struct bt_driver_s *btdev)
 
   nxsem_init(&priv->bd_exclsem, 0, 1);
 
-  DEBUGASSERT(priv->bd_txpoll != NULL);
-
   /* Set the network mask. */
 
   btnet_netmask(netdev);