/* Mark a mapping record associated with device with long_addr as invalid at a certain frame number, typically when a disassociation occurs. */
gboolean ieee802154_long_addr_invalidate(guint64 long_addr, guint fnum)
/* Mark a mapping record associated with device with long_addr as invalid at a certain frame number, typically when a disassociation occurs. */
gboolean ieee802154_long_addr_invalidate(guint64 long_addr, guint fnum)
{
    ieee802154_map_rec   *map_rec;
    map_rec = (ieee802154_map_rec *)g_hash_table_lookup(ieee802154_map.long_table, &long_addr);
    if ( map_rec ) {
        map_rec->end_fnum = fnum;
        return TRUE;
    }
    return FALSE;
}