]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: L2CAP: Don't return -EAGAIN if out of credits
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 3 Apr 2017 14:48:57 +0000 (17:48 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Apr 2017 20:02:40 +0000 (22:02 +0200)
commit34fd86ba5e75d7a75b30c1a23e0c0b2539b74185
tree26eb6bd668fcdf6cd2c60cdffe147fdb765090e3
parentde2a2116711767f29226ae97cab97b6fc4ce543c
Bluetooth: L2CAP: Don't return -EAGAIN if out of credits

Just keep queueing them into TX queue since the caller might just have
to do the same and there is no impact in adding another packet to the
TX queue even if there aren't any credits to transmit them.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c