commit | 1e2b234392cf0c3a8707ee39d8d79092fd61ef1b | [log] [tgz] |
---|---|---|
author | Sukesh Srikakula <sukeshs@google.com> | Fri Oct 15 17:17:48 2021 -0700 |
committer | Sukesh Srikakula <sukeshs@google.com> | Wed Oct 27 11:21:38 2021 -0700 |
tree | 9e0586017606a478a1b6f6b0224e4b6a5c64c9fa | |
parent | 996054b24fc8d5bd70328aabacd4cbd27da0db20 [diff] |
Bluetooth HAL: Add missing retry logic to the H4Protocol::Send() As part of an optimization, H4Protocol::Send() is modified to use writev() instead of WriteSafely(), which has a retry logic to send remaining bytes if the underlying write() call couldn't transfer all the bytes in a single system call. This cl is now adding this missing retry logic to this function. Bug: 198992020 Test: H4 UTTest, Bluetooth functional test. Change-Id: I78fad886d52f0910c83b000d5768128f00d3ddbc