kernel-fxtec-pro1x/drivers/net/wan
Jiri Slaby 03fe5f3ef7 NET: wan/x25_asy, move lapb_unregister to x25_asy_close_tty
We register lapb when tty is created, but unregister it only when the
device is UP. So move the lapb_unregister to x25_asy_close_tty after
the device is down.

The old behaviour causes ldisc switching to fail each second attempt,
because we noted for us that the device is unused, so we use it the
second time, but labp layer still have it registered, so it fails
obviously.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reported-by: Sergey Lapin <slapin@ossfans.org>
Cc: Andrew Hendry <andrew.hendry@gmail.com>
Tested-by: Sergey Lapin <slapin@ossfans.org>
Tested-by: Mikhail Ulyanov <ulyanov.mikhail@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-11-28 11:43:47 -08:00
..
lmc drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
.gitignore
c101.c
cosa.c net: Wan/cosa.c: Convert "mutex" to semaphore 2010-10-12 17:36:09 +02:00
cosa.h
cycx_drv.c
cycx_main.c
cycx_x25.c
dlci.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
dscc4.c
farsync.c
farsync.h
hd64570.c
hd64570.h
hd64572.c
hd64572.h
hdlc.c Fix typo interrest[ing|ed] => interest[ing|ed] 2010-09-21 17:05:44 +02:00
hdlc_cisco.c ipv4: ip_ptr cleanups 2010-09-15 22:06:05 -07:00
hdlc_fr.c
hdlc_ppp.c
hdlc_raw.c
hdlc_raw_eth.c
hdlc_x25.c
hostess_sv11.c
ixp4xx_hss.c
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
lapbether.c
Makefile
n2.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
pc300-falc-lh.h
pc300.h
pc300_drv.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
pc300_tty.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
pc300too.c
pci200syn.c
sbni.c
sbni.h
sdla.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
sealevel.c
wanxl.c
wanxl.h
wanxlfw.inc_shipped
wanxlfw.S
x25_asy.c NET: wan/x25_asy, move lapb_unregister to x25_asy_close_tty 2010-11-28 11:43:47 -08:00
x25_asy.h
z85230.c
z85230.h