diff options
author | Nitin Shivpure <nshivpur@codeaurora.org> | 2019-05-29 14:02:49 +0530 |
---|---|---|
committer | Nitin Shivpure <nshivpur@codeaurora.org> | 2019-06-24 15:37:48 +0530 |
commit | b94d06edbc679f340fbf995f5dd93e898cde7b3b (patch) | |
tree | 0a84e3c22343ac9284178d1de09dfad3b9995a77 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | a0144f95f6c7315c11f8c2a92cf0e139686854e0 (diff) |
BT: Add CAP_NET_ADMIN for Bluetooth Process
Precondition:
1. A reference phone has internet connection and with BT tethering enabled.
2. DUT is in PANU role & Remote is NAP role
Or
1. DUT has internet connection and with BT tethering enabled.
2. DUT is in NA{ role & Remote is PANU role.
Use case:
1. Connect DUT(PANU) to reference phone(NAP).
2. Internet browse is not working on DUT & Connection is dropped on DUT.
Or
1. Connect remote(PANU) to Remote device(NAP).
2. Internet browse is not working on remote & Connection is dropped on DUT.
RCA:
https://android-review.googlesource.com/c/kernel/common/+/936980 will cause this issue. If it's cherrypicked in codebase.
TUNSETIFF ioctl call is being failed due to Operation not permitted error, Hence bt-pan interface is not being up.&
connection is dropped.
06-04 23:18:06.856 6173 6699 D bt_btif : ioctl error:-1, errno:Operation not permitted
TEST:
1. Connect DUT(PANU) to reference phone(NAP).
2. Internet browse is working on DUT
Or
1. Connect remote(PANU) to Remote device(NAP).
2. Internet browse is working on remote.
Fix:
BT Process need CAP_NET_ADAMIN capability to make
ioctl call to TUN driver from BT PAN module. Hence
adding CAP_NET_ADMIN capablity for BT
Bug: 133735703
CRs-fixed: 2460709
Change-Id: Ie461bfee7a8221404ed6b9852bd5d36758d094df
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions