author | Badhri Jagan Sridharan <Badhri@google.com> | |
Thu, 16 Nov 2017 23:13:12 +0000 (15:13 -0800) | ||
committer | Badhri Jagan Sridharan <Badhri@google.com> | |
Fri, 17 Nov 2017 20:58:34 +0000 (12:58 -0800) | ||
commit | 9272727df8c5e42f3afd1315b1018f2af8ccca90 | |
tree | 564845c22ac95c15d7a1cf5ec858575c6cca6ca9 | tree | snapshot (tar.xz tar.gz zip) |
parent | ae6b2a5f1ec56c4d68aac10062ccb74e4df730ac | commit | diff |
Initialize usb_count in the setup funtion.
Spurious wakeups can cause the test thread to return even if the
callback was not actually called as the usb_count isnt initialized.
Bug: 65469351
Test: mma and pushed locally to the device & tested.
--skip-preconditions --module VtsHalUsbV1_0Target
Change-Id: Ib0e838cf4a44807142eab6aa5e9df0cc462bb973
Spurious wakeups can cause the test thread to return even if the
callback was not actually called as the usb_count isnt initialized.
Bug: 65469351
Test: mma and pushed locally to the device & tested.
--skip-preconditions --module VtsHalUsbV1_0Target
Change-Id: Ib0e838cf4a44807142eab6aa5e9df0cc462bb973
usb/1.0/vts/functional/VtsHalUsbV1_0TargetTest.cpp | diff | blob | history |