bluetooth-init: fix BT_GPIO expansion

After refactoring these scripts in a8c6dcb56e, some platforms are
not setting the enable line correctly.
Regarding the affected platforms, on the 6UL it works because that GPIO
comes enabled by default, but not on the other ones.
For the other platforms refactored, such as the CC91/93 or CCMP25,
it is not needed, as the variable is used directly in the gpioset command.

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
Isaac Hermida 2026-05-08 10:42:26 +02:00
parent f814f4cda0
commit 3552e1b5e1
4 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
#===============================================================================
#
# Copyright (C) 2012-2017 by Digi International Inc.
# Copyright (C) 2012-2026, Digi International Inc.
# All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
@ -14,7 +14,7 @@
#===============================================================================
# Bluetooth power GPIO
BT_EN_QCA_GPIO_NR=##BT_GPIO##
BT_EN_QCA_GPIO_NR="##BT_GPIO##"
# set_gpio_value <gpio_nr> <value>
set_gpio_value() {

View File

@ -1,7 +1,7 @@
#!/bin/sh
#===============================================================================
#
# Copyright (C) 2012-2018 by Digi International Inc.
# Copyright (C) 2012-2026, Digi International Inc.
# All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
@ -14,7 +14,7 @@
#===============================================================================
# Bluetooth power GPIO
BT_PWR_GPIO_NR=##BT_GPIO##
BT_PWR_GPIO_NR="##BT_GPIO##"
# set_gpio_value <gpio_nr> <value>
set_gpio_value() {

View File

@ -1,7 +1,7 @@
#!/bin/sh
#===============================================================================
#
# Copyright (C) 2012-2018 by Digi International Inc.
# Copyright (C) 2012-2026, Digi International Inc.
# All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
@ -14,7 +14,7 @@
#===============================================================================
# Bluetooth power GPIO
BT_EN_QCA_GPIO_NR=##BT_GPIO##
BT_EN_QCA_GPIO_NR="##BT_GPIO##"
# set_gpio_value <gpio_nr> <value>
set_gpio_value() {

View File

@ -1,7 +1,7 @@
#!/bin/sh
#===============================================================================
#
# Copyright (C) 2012-2018 by Digi International Inc.
# Copyright (C) 2012-2026, Digi International Inc.
# All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
@ -14,7 +14,7 @@
#===============================================================================
# Bluetooth power GPIO
BT_EN_QCA_GPIO_NR=##BT_GPIO##
BT_EN_QCA_GPIO_NR="##BT_GPIO##"
# set_gpio_value <gpio_nr> <value>
set_gpio_value() {