summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/bluetooth-power.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bluetooth/bluetooth-power.c')
-rw-r--r--drivers/bluetooth/bluetooth-power.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/bluetooth-power.c b/drivers/bluetooth/bluetooth-power.c
index b05b999fbbdc..59245ba320f6 100644
--- a/drivers/bluetooth/bluetooth-power.c
+++ b/drivers/bluetooth/bluetooth-power.c
@@ -704,6 +704,7 @@ static long bt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
} else {
BT_PWR_ERR("BT chip state is already :%d no change d\n"
, pwr_state);
+ ret = 0;
}
break;
default: