summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/sc/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/sc/message.c')
-rw-r--r--drivers/isdn/sc/message.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/isdn/sc/message.c b/drivers/isdn/sc/message.c
index ca204da3257..0a0fe6b8039 100644
--- a/drivers/isdn/sc/message.c
+++ b/drivers/isdn/sc/message.c
@@ -208,8 +208,7 @@ int send_and_receive(int card,
tries = 0;
/* wait for the response */
while (tries < timeout) {
- set_current_state(TASK_INTERRUPTIBLE);
- schedule_timeout(1);
+ schedule_timeout_interruptible(1);
pr_debug("SAR waiting..\n");