Another fix from recent PR: mac802154_primitive_free() does not exist. Perhaps ieee802154_primitive_free() is what was intended?
This commit is contained in:
parent
8d485cd345
commit
f562bf0fbe
|
@ -1084,11 +1084,12 @@ static int macnet_ioctl(FAR struct net_driver_s *dev, int cmd,
|
|||
|
||||
if (primitive != NULL)
|
||||
{
|
||||
memcpy(&netmac->u, primitive, sizeof(struct ieee802154_primitive_s));
|
||||
memcpy(&netmac->u, primitive,
|
||||
sizeof(struct ieee802154_primitive_s));
|
||||
|
||||
/* Free the notification */
|
||||
/* Free the event */
|
||||
|
||||
mac802154_primitive_free(priv->md_mac, primitive);
|
||||
ieee802154_primitive_free(primitive);
|
||||
ret = OK;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue