patch-2.1.26 linux/net/lapb/lapb_out.c
Next file: linux/net/lapb/lapb_subr.c
Previous file: linux/net/lapb/lapb_in.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Tue Feb 4 16:44:25 1997
- Orig file:
v2.1.25/linux/net/lapb/lapb_out.c
- Orig date:
Thu Jan 23 21:06:58 1997
diff -u --recursive --new-file v2.1.25/linux/net/lapb/lapb_out.c linux/net/lapb/lapb_out.c
@@ -167,11 +167,6 @@
kfree_skb(skb, FREE_WRITE);
}
-void lapb_nr_error_recovery(lapb_cb *lapb)
-{
- lapb_establish_data_link(lapb);
-}
-
void lapb_establish_data_link(lapb_cb *lapb)
{
lapb->condition = 0x00;
@@ -193,19 +188,6 @@
lapb->t1timer = lapb->t1;
}
-void lapb_transmit_enquiry(lapb_cb *lapb)
-{
-#if LAPB_DEBUG > 1
- printk(KERN_DEBUG "lapb: (%p) S%d TX RR(1) R%d\n", lapb->token, lapb->state, lapb->vr);
-#endif
-
- lapb_send_control(lapb, LAPB_RR, LAPB_POLLON, LAPB_COMMAND);
-
- lapb->condition &= ~LAPB_ACK_PENDING_CONDITION;
-
- lapb->t1timer = lapb->t1;
-}
-
void lapb_enquiry_response(lapb_cb *lapb)
{
#if LAPB_DEBUG > 1
@@ -233,6 +215,7 @@
if (lapb->vs == nr) {
lapb_frames_acked(lapb, nr);
lapb->t1timer = 0;
+ lapb->n2count = 0;
} else {
if (lapb->va != nr) {
lapb_frames_acked(lapb, nr);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov