From eb2dcaedc8ec80ce8a904d8dddc6164735976d29 Mon Sep 17 00:00:00 2001 From: Chia-Chi Teng Date: Fri, 27 Oct 2023 19:31:40 +0000 Subject: Revert^2 "bluetooth: Allow triggering AOC reset from BT HAL" This reverts commit 0aa787efa82477a31e9941374ec5fa17738a4f07. Reason for revert: Debug BT HCI timeout on UD2A build and P23 on main Bug: 306646797 Test: presubmit PTS Change-Id: Ia72ea9d0ba0209cce483d220b420933b243e05b3 --- vendor/hal_bluetooth_btlinux.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vendor/hal_bluetooth_btlinux.te b/vendor/hal_bluetooth_btlinux.te index b2a7529..1076442 100644 --- a/vendor/hal_bluetooth_btlinux.te +++ b/vendor/hal_bluetooth_btlinux.te @@ -8,5 +8,9 @@ allow hal_bluetooth_btlinux vendor_bt_data_file:file create_file_perms; # Allow triggering uart skip suspend allow hal_bluetooth_btlinux sysfs_bt_uart:file rw_file_perms; +# Allow triggering AOC reset +allow hal_bluetooth_btlinux sysfs_aoc:dir search; +allow hal_bluetooth_btlinux sysfs_aoc_reset:file rw_file_perms; + # allow the HAL to call cccdktimesync registered callbacks binder_call(hal_bluetooth_btlinux, vendor_cccdktimesync_app) -- cgit v1.2.3