Fix BT enable problem using BT API
[platform/adaptation/bluetooth-firmware-bcm.git] / scripts / bt-dev-start.sh
index de9e4e4..2519604 100755 (executable)
@@ -31,7 +31,7 @@ then
 fi
 
 # Trun-on Bluetooth Chip
-rfkill unblock bluetooth
+/usr/sbin/rfkill unblock bluetooth
 
 echo "Check for Bluetooth device status"
 if (/usr/bin/hciconfig | grep hci); then
@@ -52,6 +52,6 @@ else
                echo "HCIATTACH success"
        else
                echo "HCIATTACH failed"
-               rfkill block bluetooth
+               /usr/sbin/rfkill block bluetooth
        fi
 fi