Skip to content

Commit 77bdec4

Browse files
jukkarfabiobaltieri
authored andcommitted
net: openthread: Remove invalid assert
There is no openthread_instance so the assert will always fail so remove it to prevent compilation issue. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
1 parent f97e33e commit 77bdec4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

subsys/net/l2/openthread/openthread_border_router.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,6 @@ void openthread_set_bbr_multicast_listener_cb(openthread_bbr_multicast_listener_
206206
void *context)
207207
{
208208
__ASSERT(cb != NULL, "Receive callback is not set");
209-
__ASSERT(openthread_instance != NULL, "OpenThread instance is not "
210-
"initialized");
211209

212210
openthread_mutex_lock();
213211
otBackboneRouterSetMulticastListenerCallback(openthread_get_default_instance(), cb,

0 commit comments

Comments
 (0)