rem: __bba_tx_stop(priv);
context: static err_t __bba_link_tx(struct netif *dev,struct pbuf *p){	err_t ret = ERR_OK;	struct pbuf *tmp;	struct bba_priv *priv = (struct bba_priv*)dev->state;	LWIP_DEBUGF(NETIF_DEBUG,("__bba_link_tx(%d,%p)\n",p->tot_len,LWP_GetSelf()));	if(p->tot_len>BBA_TX_MAX_PACKET_SIZE) {		LWIP_DEBUGF(NETIF_DEBUG,("__bba_link_tx(packet_size: %d)\n",p->tot_len));		return ERR_PKTSIZE;	}	__bba_tx_stop(priv);	cur_snd_len = 0;	for(tmp=p;tmp!=NULL && ret==ERR_OK;tmp=tmp->next) {		memcpy(cur_snd_buffer+cur_snd_len,tmp->payload,tmp->len);		cur_snd_len += tmp->len;	}	return __bba_link_txsub0();}