diff options
author | Jiri Slaby <[email protected]> | 2010-11-24 13:54:54 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2010-11-28 11:43:47 -0800 |
commit | 03fe5f3ef7eab88e1405baa52a7923fbf337230b (patch) | |
tree | 94ca359bee9d5f4121af252310d4eb9293d45d9a /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 42eb59d3a80ff83b4cacb92dcc44b22da7d4969b (diff) |
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 <[email protected]>
Reported-by: Sergey Lapin <[email protected]>
Cc: Andrew Hendry <[email protected]>
Tested-by: Sergey Lapin <[email protected]>
Tested-by: Mikhail Ulyanov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions