net/mld/mld_leave.c: Fix a bad assertion.

This commit is contained in:
Gregory Nutt 2018-11-05 09:39:28 -06:00
parent 33ed27ae65
commit 80fe482f1b

View File

@ -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.