bluez init: add more HW variants for ccimx6

https://jira.digi.com/browse/DEL-1359

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
(cherry picked from commit 537803cb64809acbac243179d6d448ad6cd70b85)
This commit is contained in:
Javier Viguera 2015-01-27 16:43:57 +01:00
parent f42a61ab71
commit d5f3361935
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ bt_init() {
fi fi
BT_PWR_GPIO_NR="21" BT_PWR_GPIO_NR="21"
elif [ "${MACHINENAME}" = "ccimx6sbc" ]; then elif [ "${MACHINENAME}" = "ccimx6sbc" ]; then
BLUETOOTH_VARIANTS="0x02 0x03 0x04 0x06" BLUETOOTH_VARIANTS="0x01 0x02 0x03 0x04 0x06 0x0b"
MOD_VARIANT="$(cat /proc/device-tree/digi,hwid,variant)" MOD_VARIANT="$(cat /proc/device-tree/digi,hwid,variant)"
if ! echo "${BLUETOOTH_VARIANTS}" | grep -qs "${MOD_VARIANT}"; then if ! echo "${BLUETOOTH_VARIANTS}" | grep -qs "${MOD_VARIANT}"; then
echo "${SCRIPTNAME}: variant ${MOD_VARIANT} does not support bluetooth" echo "${SCRIPTNAME}: variant ${MOD_VARIANT} does not support bluetooth"