diff options
author | Ricardo Salveti <ricardo.salveti@linaro.org> | 2017-01-27 18:17:01 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2017-01-28 08:43:41 +0200 |
commit | 8227c72c47bc201a70e30db40d9fc4deadbe4198 (patch) | |
tree | 5029f9d5e4c59d98bb79a6f3121ac7c6add395ee /drivers/bluetooth/hci/Kconfig | |
parent | 4afe063aad8c8718bad77645f912a33d7ffaaf18 (diff) |
Bluetooth: SPI: fix max SPI buffer length
Drop the BLUETOOTH_SPI_RX_BUFFER_SIZE and BLUETOOTH_SPI_TX_BUFFER_SIZE
config options by fixing the max SPI buffer length to 255, as used by
the X-NUCLEO-IDB04A1 BSP. This simplifies the rx/tx buffer handling, and
avoids a potential spi rx stack overflow depending on the config values
set by the user.
Change-Id: Ifa7fd086016abda4bdcf9638f28b38d001a288c5
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Diffstat (limited to 'drivers/bluetooth/hci/Kconfig')
-rw-r--r-- | drivers/bluetooth/hci/Kconfig | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/bluetooth/hci/Kconfig b/drivers/bluetooth/hci/Kconfig index 30ff83ad4..f3bbed4e5 100644 --- a/drivers/bluetooth/hci/Kconfig +++ b/drivers/bluetooth/hci/Kconfig @@ -151,20 +151,6 @@ config BLUETOOTH_SPI_RESET_PIN help This option specifies the Reset line number on the SPI device -config BLUETOOTH_SPI_RX_BUFFER_SIZE - int "Receive buffer length" - default 96 - help - This option specifies the size of the RX buffer. Try to keep this - as small as possible, since it's stored on the stack. - -config BLUETOOTH_SPI_TX_BUFFER_SIZE - int "Transmit buffer length" - default 64 - help - This option specifies the size of the TX buffer. Try to keep this - as small as possible, since it's stored on the stack. - config BLUETOOTH_SPI_MAX_CLK_FREQ int "Maximum clock frequency for the HCI SPI interface" default 5000000 |