/* Update DRP IEs and, if necessary, the DRP Availability IE and send the updated IEs to the radio controller.  */
static void uwb_rsv_update_work(struct work_struct *work)
/* Update DRP IEs and, if necessary, the DRP Availability IE and send the updated IEs to the radio controller.  */
static void uwb_rsv_update_work(struct work_struct *work)
{
	struct uwb_rc *rc = container_of(work, struct uwb_rc,
					 rsv_update_work.work);
	bool ie_updated;
	mutex_lock(&rc->rsvs_mutex);
	ie_updated = uwb_rsv_update_all(rc);
	if (!rc->drp_avail.ie_valid) {
		uwb_drp_avail_ie_update(rc);
		ie_updated = true;
	}
	if (ie_updated && (rc->set_drp_ie_pending == 0))
		uwb_rc_send_all_drp_ie(rc);
	mutex_unlock(&rc->rsvs_mutex);
}