patch-2.3.47 linux/net/irda/irlan/irlan_client.c

Next file: linux/net/irda/irlan/irlan_common.c
Previous file: linux/net/ipv4/tcp_output.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/net/irda/irlan/irlan_client.c linux/net/irda/irlan/irlan_client.c
@@ -126,7 +126,7 @@
 	 * is up, that means that the "user" really wants to connect. If not
 	 * we notify the user about the possibility of an IrLAN connection
 	 */
-	if (test_bit(LINK_STATE_START, &self->dev.state)) {
+	if (netif_running(&self->dev)) {
 		/* Open TSAPs */
 		irlan_client_open_ctrl_tsap(self);
  		irlan_open_data_tsap(self);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)