btfilter: bluez-init: add support for ccardimx28 variant 0x12
Signed-off-by: Hector Palacios <hector.palacios@digi.com> https://jira.digi.com/browse/DEL-1556 (cherry picked from commit cdea8187fe4e7f3e0359919cef057b379362730a) Conflicts: meta-digi-dey/recipes-connectivity/btfilter/files/bluez-init
This commit is contained in:
parent
423c1115d1
commit
b482e2201d
|
|
@ -26,7 +26,7 @@ SCRIPTNAME="$(basename "${0}")"
|
|||
bt_init() {
|
||||
# Exit if this hardware does not support Bluetooth
|
||||
if [ "${MACHINENAME}" = "ccardimx28" ]; then
|
||||
BLUETOOTH_VARIANTS="0x02 0x03 0x10 0x11"
|
||||
BLUETOOTH_VARIANTS="0x02 0x03 0x10 0x11 0x12"
|
||||
MOD_VARIANT="$(cat /proc/device-tree/digi,hwid,variant 2>/dev/null || \
|
||||
cat "/sys/kernel/${MACHINENAME}/mod_variant")"
|
||||
if ! echo "${BLUETOOTH_VARIANTS}" | grep -qs "${MOD_VARIANT}"; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue