Skip to content
Permalink
Browse files

Bluetooth: GATT: Disable flow control if running with POSIX_ARCH

Disable flow control with POSIX_ARCH since these boards tend to run
faster than normal defering the TX callback to system wq may not be
able to run before another packet is received.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
  • Loading branch information...
Vudentz authored and jhedberg committed May 31, 2019
1 parent 8a7615f commit 362497235df575586a049dd92216910c99e79094
Showing with 1 addition and 1 deletion.
  1. +1 −1 subsys/bluetooth/host/Kconfig.gatt
@@ -10,7 +10,7 @@ menu "ATT and GATT Options"

config BT_ATT_ENFORCE_FLOW
bool "Enforce strict flow control semantics for incoming PDUs"
default y if !(BOARD_QEMU_CORTEX_M3 || BOARD_QEMU_X86 || BOARD_NATIVE_POSIX)
default y if !(BOARD_QEMU_CORTEX_M3 || BOARD_QEMU_X86 || ARCH_POSIX)
help
Enforce flow control rules on incoming PDUs, preventing a peer
from sending new requests until a previous one has been responded

0 comments on commit 3624972

Please sign in to comment.
You can’t perform that action at this time.