aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/gigaset/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/gigaset/common.c')
-rw-r--r--drivers/isdn/gigaset/common.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/drivers/isdn/gigaset/common.c b/drivers/isdn/gigaset/common.c
index 9d4ae04eb33f..b460a73a7c85 100644
--- a/drivers/isdn/gigaset/common.c
+++ b/drivers/isdn/gigaset/common.c
@@ -906,20 +906,7 @@ void gigaset_shutdown(struct cardstate *cs)
906 gig_dbg(DEBUG_CMD, "scheduling SHUTDOWN"); 906 gig_dbg(DEBUG_CMD, "scheduling SHUTDOWN");
907 gigaset_schedule_event(cs); 907 gigaset_schedule_event(cs);
908 908
909 if (wait_event_interruptible(cs->waitqueue, !cs->waiting)) { 909 wait_event(cs->waitqueue, !cs->waiting);
910 warn("%s: aborted", __func__);
911 //FIXME
912 }
913
914 if (atomic_read(&cs->mstate) != MS_LOCKED) {
915 //FIXME?
916 //gigaset_baud_rate(cs, B115200);
917 //gigaset_set_line_ctrl(cs, CS8);
918 //gigaset_set_modem_ctrl(cs, TIOCM_DTR|TIOCM_RTS, 0);
919 //cs->control_state = 0;
920 } else {
921 //FIXME use some saved values?
922 }
923 910
924 cleanup_cs(cs); 911 cleanup_cs(cs);
925 912
@@ -942,10 +929,7 @@ void gigaset_stop(struct cardstate *cs)
942 gig_dbg(DEBUG_CMD, "scheduling STOP"); 929 gig_dbg(DEBUG_CMD, "scheduling STOP");
943 gigaset_schedule_event(cs); 930 gigaset_schedule_event(cs);
944 931
945 if (wait_event_interruptible(cs->waitqueue, !cs->waiting)) { 932 wait_event(cs->waitqueue, !cs->waiting);
946 warn("%s: aborted", __func__);
947 //FIXME
948 }
949 933
950 cleanup_cs(cs); 934 cleanup_cs(cs);
951 935