]> code.ossystems Code Review - openembedded-core.git/commit
bluez5: Fix ptest hang
authorMingli Yu <Mingli.Yu@windriver.com>
Fri, 24 Aug 2018 06:48:55 +0000 (14:48 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Aug 2018 09:27:15 +0000 (10:27 +0100)
commitb6801f95800bf37f4b960123ba649322fc5cd5d3
treeaa9b9313ec1b8839a57479d709b93d517ddbfa28
parent27e2ede65f1193e49f9483b08a55495d88740a65
bluez5: Fix ptest hang

The below test hangs infinitely
$ ./run-ptest

Actually it stuck at test-gatt unit test and
the detailed test output as below:
$ unit/test-gatt -p  /robustness/unkown-request -d
/robustness/unkown-request - init
/robustness/unkown-request - setup
/robustness/unkown-request - setup complete
/robustness/unkown-request - run
GATT: < 02 17 00                                         ...
bt_gatt_server:MTU exchange complete, with MTU: 23
GATT: > 03 00 02                                         ...
PDU: = 03 00 02                                         ...
GATT: < bf 00

Considering the /robustness/unkown-request test
actually does no action, update to raw_pdu() to
fix the hang issue.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/bluez5/bluez5.inc
meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch [new file with mode: 0644]