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/10/25 14:31:52 UTC

[incubator-nuttx] branch master updated: bt_netdev: remove invalid assert breaking build when debugging is enabled

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


The following commit(s) were added to refs/heads/master by this push:
     new 4286d58  bt_netdev: remove invalid assert breaking build when debugging is enabled
4286d58 is described below

commit 4286d588f749f0c579cf0e197ba40ad4f753e30a
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);