patch-1.3.20 linux/net/ax25/ax25_timer.c

Next file: linux/net/core/Makefile
Previous file: linux/net/ax25/ax25_route.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.19/linux/net/ax25/ax25_timer.c linux/net/ax25/ax25_timer.c
@@ -130,7 +130,7 @@
 		if (ax25->state == AX25_STATE_3 || ax25->state == AX25_STATE_4) {
 			if (ax25->condition & ACK_PENDING_CONDITION) {
 				ax25->condition &= ~ACK_PENDING_CONDITION;
-				ax25_enquiry_response(ax25);
+				ax25_timeout_response(ax25);
 			}
 		}
 	}
@@ -167,7 +167,9 @@
 					}
 				} else {
 					ax25->modulus = MODULUS;
+					ax25->window  = ax25_dev_get_value(ax25->device, AX25_VALUES_WINDOW);
 					ax25->n2count = 0;
+					ax25_send_control(ax25, SABM, POLLON, C_COMMAND);
 				}
 			} else {
 				ax25->n2count++;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this