Cleanup: Fix entries for wifi and BT
am: fadc66b

* commit 'fadc66b380693139488328c7d00652e8e87bafeb':
  Cleanup: Fix entries for wifi and BT

Change-Id: I4a61a9fd49405c00ab255682e21a5e78624c0109
diff --git a/android_dhcpcd.conf b/android_dhcpcd.conf
new file mode 100644
index 0000000..0fe3996
--- /dev/null
+++ b/android_dhcpcd.conf
@@ -0,0 +1,9 @@
+# dhcpcd configuration for Android Wi-Fi interface
+# See dhcpcd.conf(5) for details.
+
+# Disable solicitation of IPv6 Router Advertisements
+noipv6rs
+
+interface wlan0
+# dhcpcd-run-hooks uses these options.
+option subnet_mask, routers, domain_name_servers, interface_mtu
diff --git a/device.mk b/device.mk
index 48e89d7..70c777b 100644
--- a/device.mk
+++ b/device.mk
@@ -89,6 +89,7 @@
         frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \
         frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \
         device/linaro/hikey/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
+        device/linaro/hikey/android_dhcpcd.conf:system/etc/dhcpcd/dhcpcd.conf \
         device/linaro/hikey/audio/audio_policy.conf:system/etc/audio_policy.conf
 
 # Copy media codecs config file
diff --git a/init.hikey.rc b/init.hikey.rc
index b2e86c4..deeff2c 100644
--- a/init.hikey.rc
+++ b/init.hikey.rc
@@ -107,3 +107,17 @@
      disabled
      oneshot
 
+service dhcpcd_wlan0 /system/bin/dhcpcd -dABKL
+     group dhcp
+     disabled
+     oneshot
+
+service dhcpcd_eth0 /system/bin/dhcpcd -dABKL
+     group dhcp
+     disabled
+     oneshot
+
+service dhcpcd_bt-pan /system/bin/dhcpcd -dABKL
+     group dhcp
+     disabled
+     oneshot