From: Weiguo Hu Date: Tue, 25 Sep 2018 07:39:20 +0000 (+0800) Subject: rtl8761at: support bt remote control wakeup host X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=45efdb649748502f0636fff90ef19b662c0dec2d;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_realtek.git rtl8761at: support bt remote control wakeup host Change-Id: I463e9c7861c1eded000e4b340b7e7c905f21da96 --- diff --git a/rtkbt/code/libbt-vendor/src/rtk_heartbeat.c b/rtkbt/code/libbt-vendor/src/rtk_heartbeat.c index a6cb636..9a8fe05 100755 --- a/rtkbt/code/libbt-vendor/src/rtk_heartbeat.c +++ b/rtkbt/code/libbt-vendor/src/rtk_heartbeat.c @@ -138,7 +138,7 @@ static void rtkbt_heartbeat_cmpl_cback (void *p_params) ALOGE("rtkbt_heartbeat_cmpl_cback: Current SeqNum = %d,should SeqNum=%d, status = %d", seqnum, nextSeqNum, status); ALOGE("heartbeat event missing: restart bluedroid stack\n"); usleep(1000); - kill(getpid(), SIGKILL); + //kill(getpid(), SIGKILL); } } @@ -159,7 +159,7 @@ static void heartbeat_timed_out()//(union sigval arg) ALOGE("heartbeat_timed_out: heartbeatCount = %d, expected nextSeqNum = %d",heartbeatCount, nextSeqNum); ALOGE("heartbeat_timed_out,controller may be suspend! Now restart bluedroid stack\n"); usleep(1000); - kill(getpid(), SIGKILL); + //kill(getpid(), SIGKILL); return; } if(heartbeatFlag) diff --git a/rtkbt/vendor/firmware_box/rtl8761at_config b/rtkbt/vendor/firmware_box/rtl8761at_config index 786a445..30d2eb7 100755 Binary files a/rtkbt/vendor/firmware_box/rtl8761at_config and b/rtkbt/vendor/firmware_box/rtl8761at_config differ diff --git a/rtkbt/vendor/firmware_box/rtl8761at_fw b/rtkbt/vendor/firmware_box/rtl8761at_fw index 250e7a1..f5a2dfc 100755 Binary files a/rtkbt/vendor/firmware_box/rtl8761at_fw and b/rtkbt/vendor/firmware_box/rtl8761at_fw differ