summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2010-11-24 13:54:54 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-28 11:43:47 -0800
commit03fe5f3ef7eab88e1405baa52a7923fbf337230b (patch)
tree94ca359bee9d5f4121af252310d4eb9293d45d9a /drivers/net/usb
parent42eb59d3a80ff83b4cacb92dcc44b22da7d4969b (diff)
downloadlinux-03fe5f3ef7eab88e1405baa52a7923fbf337230b.tar.bz2
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>
Diffstat (limited to 'drivers/net/usb')
0 files changed, 0 insertions, 0 deletions