mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
bt_netdev: remove invalid assert breaking build when debugging is enabled
This commit is contained in:
@@ -1064,8 +1064,6 @@ int bt_netdev_register(FAR const struct bt_driver_s *btdev)
|
|||||||
|
|
||||||
nxsem_init(&priv->bd_exclsem, 0, 1);
|
nxsem_init(&priv->bd_exclsem, 0, 1);
|
||||||
|
|
||||||
DEBUGASSERT(priv->bd_txpoll != NULL);
|
|
||||||
|
|
||||||
/* Set the network mask. */
|
/* Set the network mask. */
|
||||||
|
|
||||||
btnet_netmask(netdev);
|
btnet_netmask(netdev);
|
||||||
|
|||||||
Reference in New Issue
Block a user