/* * Function ircomm_param_flush (self) * * Flush (send) out all queued parameters * */ int ircomm_param_flush(struct ircomm_tty_cb *self) { if (self->ctrl_skb) { ircomm_control_request(self->ircomm, self->ctrl_skb); self->ctrl_skb = NULL; } return 0; }
/* * Function ircomm_param_flush (self) * * Flush (send) out all queued parameters * */ int ircomm_param_flush(struct ircomm_tty_cb *self) { /* we should lock here, but I guess this function is unused... * Jean II */ if (self->ctrl_skb) { ircomm_control_request(self->ircomm, self->ctrl_skb); self->ctrl_skb = NULL; } return 0; }