meta-digi-dey: btfilter: ccimx6: Add variants 0x11/0x12 as bluetooth enabled.
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
c014df997f
commit
ff946261ef
|
|
@ -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="0x01 0x02 0x03 0x04 0x06 0x0b"
|
BLUETOOTH_VARIANTS="0x01 0x02 0x03 0x04 0x06 0x0b 0x11 0x12"
|
||||||
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"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue