Bluetooth MAC Address fixes to out get_local_address fatal error
We are fixing it by setting the ro.boot.btmacaddr 00:00:00:00:00:00
on boot event.
Issue: FP2P-100
Change-Id: I1d6db5966df28401d20eebc0eb132c934a6a2d5e
diff --git a/rootdir/init.rc b/rootdir/init.rc
index b9464e7..faab981 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -669,6 +669,10 @@
chown system system /sys/kernel/ipv4/tcp_rmem_max
chown root radio /proc/cmdline
+ # setting ro.boot.btmacaddr 00:00:00:00:00:00 as
+ # we need to bypass get_local_address fatal error
+ setprop ro.boot.btmacaddr 00:00:00:00:00:00
+
# Define default initial receive window size in segments.
setprop net.tcp.default_init_rwnd 60