Parent: a078a364768cf62b92c4ffaa89647dd49282981a
Author: Archie Pusaka <apusaka@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-06-05 00:17:27
Tree: 5ba79e9ef23499b4685d29c02e24cbddf94a046d
tools/l2cap-tester: Add test for waiting disconnection response This is to test the behaviour of L2CAP channel when closed with shut_down(sock, SHUT_WR). In this case, we should wait until we receive a disconnection response before raising G_IO_HUP.
Diffstat
| M | android/tester-main.c | | | 2 | +- |
| M | emulator/bthost.c | | | 17 | ++++++++++++++++- |
| M | emulator/bthost.h | | | 5 | ++++- |
| M | tools/l2cap-tester.c | | | 65 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - |
| M | tools/rfcomm-tester.c | | | 2 | +- |
5 files changed, 80 insertions(+), 11 deletions(-)