summaryrefslogtreecommitdiff
path: root/rootdir/init.qcom.rc
diff options
context:
space:
mode:
authorChirayu Desai <chirayudesai1@gmail.com>2016-02-20 18:33:33 +0530
committerMax Weffers <rcstar6696@gmail.com>2017-03-27 14:00:27 +0200
commit7ab67b18c676e655ffe73d2cefff7dcd075553b2 (patch)
tree0e9958338fb834862e091c4404dd821d410dc96d /rootdir/init.qcom.rc
parentbda77e8b2f5266a03031a294af96876c4410ea6e (diff)
Build and use macaddrsetup
Change-Id: I6f81296829673f66bcb27f444945b9bddd54929c This fixes random mac adress at boot
Diffstat (limited to 'rootdir/init.qcom.rc')
-rw-r--r--rootdir/init.qcom.rc5
1 files changed, 5 insertions, 0 deletions
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