/* * Function ircomm_ttp_connect_response (self, skb) * * * */ int ircomm_ttp_connect_response(struct ircomm_cb *self, struct sk_buff *skb) { int ret; IRDA_DEBUG(4, "%s()\n", __FUNCTION__); ret = irttp_connect_response(self->tsap, TTP_SAR_DISABLE, skb); return ret; }
/* * Function ircomm_ttp_connect_response (self, skb) * * * */ int ircomm_ttp_connect_response(struct ircomm_cb *self, struct sk_buff *userdata) { int ret; IRDA_DEBUG(4, "%s()\n", __FUNCTION__ ); /* Don't forget to refcount it - should be NULL anyway */ if(userdata) skb_get(userdata); ret = irttp_connect_response(self->tsap, TTP_SAR_DISABLE, userdata); return ret; }