From 7ab67b18c676e655ffe73d2cefff7dcd075553b2 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Sat, 20 Feb 2016 18:33:33 +0530 Subject: Build and use macaddrsetup Change-Id: I6f81296829673f66bcb27f444945b9bddd54929c This fixes random mac adress at boot --- rootdir/init.qcom.rc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'rootdir') diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index ebcab1f..14b3187 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -436,6 +436,11 @@ service qmuxd /system/bin/qmuxd user root group radio audio bluetooth gps nfc diag wakelock qcom_diag +# Wi-Fi and BT MAC addresses +service macaddrsetup /system/bin/macaddrsetup /sys/devices/platform/bcmdhd_wlan/macaddr + class late_start + user root + oneshot service netmgrd /system/bin/netmgrd class main -- cgit v1.2.3