/* The PAL call uwb_rsv_destroy() for all accepted reservations before calling uwb_pal_unregister().  */
void uwb_rsv_accept(struct uwb_rsv *rsv, uwb_rsv_cb_f cb, void *pal_priv)
/* The PAL call uwb_rsv_destroy() for all accepted reservations before calling uwb_pal_unregister().  */
void uwb_rsv_accept(struct uwb_rsv *rsv, uwb_rsv_cb_f cb, void *pal_priv)
{
	uwb_rsv_get(rsv);
	rsv->callback = cb;
	rsv->pal_priv = pal_priv;
	rsv->state    = UWB_RSV_STATE_T_ACCEPTED;
}