net/mld/mld_leave.c: Fix a bad assertion.
This commit is contained in:
parent
33ed27ae65
commit
80fe482f1b
@ -85,7 +85,7 @@ int mld_leavegroup(FAR const struct ipv6_mreq *mrec)
|
|||||||
struct mld_group_s *group;
|
struct mld_group_s *group;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
DEBUGASSERT(dev != NULL && mrec != NULL);
|
DEBUGASSERT(mrec != NULL);
|
||||||
|
|
||||||
/* Get the device from the interface index. Use the default network device
|
/* Get the device from the interface index. Use the default network device
|
||||||
* if an interface index of 0 is provided.
|
* if an interface index of 0 is provided.
|
||||||
|
Loading…
Reference in New Issue
Block a user