diff options
Diffstat (limited to 'drivers/isdn/gigaset/ev-layer.c')
-rw-r--r-- | drivers/isdn/gigaset/ev-layer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/isdn/gigaset/ev-layer.c b/drivers/isdn/gigaset/ev-layer.c index 2e6963dc740e..e2383ece8e2e 100644 --- a/drivers/isdn/gigaset/ev-layer.c +++ b/drivers/isdn/gigaset/ev-layer.c | |||
@@ -1693,6 +1693,11 @@ static void process_command_flags(struct cardstate *cs) | |||
1693 | for (i = 0; i < cs->channels; ++i) { | 1693 | for (i = 0; i < cs->channels; ++i) { |
1694 | bcs = cs->bcs + i; | 1694 | bcs = cs->bcs + i; |
1695 | if (bcs->at_state.pending_commands & PC_HUP) { | 1695 | if (bcs->at_state.pending_commands & PC_HUP) { |
1696 | if (cs->dle) { | ||
1697 | cs->curchannel = bcs->channel; | ||
1698 | schedule_sequence(cs, &cs->at_state, SEQ_DLE0); | ||
1699 | return; | ||
1700 | } | ||
1696 | bcs->at_state.pending_commands &= ~PC_HUP; | 1701 | bcs->at_state.pending_commands &= ~PC_HUP; |
1697 | if (bcs->at_state.pending_commands & PC_CID) { | 1702 | if (bcs->at_state.pending_commands & PC_CID) { |
1698 | /* not yet dialing: PC_NOCID is sufficient */ | 1703 | /* not yet dialing: PC_NOCID is sufficient */ |