aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/btlock/btlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/btlock/btlock.c')
-rw-r--r--drivers/net/wireless/btlock/btlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/btlock/btlock.c b/drivers/net/wireless/btlock/btlock.c
index 051eaac..fa6e706 100644
--- a/drivers/net/wireless/btlock/btlock.c
+++ b/drivers/net/wireless/btlock/btlock.c
@@ -74,8 +74,8 @@ PR("release, cookie_mismatch:%s, owner:%s\n", cookie_msg,
owner_cookie == 0 ? "NULL" : owner_msg);
} else if (lock_para.lock == 1) {
#if 1
- if (down_interruptible(&lock)) {
- PR("interrupted\n");
+ if (down_killable(&lock)) {
+ PR("killed\n");
return -ERESTARTSYS;
}
#else