patch-2.1.30 linux/net/netrom/nr_dev.c

Next file: linux/net/netrom/nr_route.c
Previous file: linux/net/netrom/af_netrom.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.29/linux/net/netrom/nr_dev.c linux/net/netrom/nr_dev.c
@@ -175,7 +175,9 @@
 {
 	dev->tbusy = 0;
 	dev->start = 1;
+
 	MOD_INC_USE_COUNT;
+
 	ax25_listen_register((ax25_address *)dev->dev_addr, NULL);
 
 	return 0;
@@ -185,8 +187,11 @@
 {
 	dev->tbusy = 1;
 	dev->start = 0;
+
 	ax25_listen_release((ax25_address *)dev->dev_addr, NULL);
+
 	MOD_DEC_USE_COUNT;
+
 	return 0;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov