Skip to content

Commit

Permalink
montblanc: fix for stuck dhcp
Browse files Browse the repository at this point in the history
driver not able to get a new lease, if the old files are not deleted before wifi is starting.

Change-Id: Ie970446889840b629dc4dc2a5c19685f92e07e29
  • Loading branch information
freexperia committed Apr 18, 2013
1 parent d0b4294 commit 1a3dd6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/10dhcpcd
@@ -0,0 +1,6 @@
#!/system/xbin/ash

# Clean the DHCP leases before starting.
rm -f /data/misc/dhcp/dhcpcd-wlan0.lease
rm -f /data/misc/dhcp/dhcpcd-wlan0.pid

1 change: 1 addition & 0 deletions montblanc.mk
Expand Up @@ -36,6 +36,7 @@ PRODUCT_COPY_FILES += \
device/sony/montblanc-common/config/sysmon.cfg:system/etc/sysmon.cfg \
device/sony/montblanc-common/config/hostapd.conf:system/etc/wifi/hostapd.conf \
device/sony/montblanc-common/config/01stesetup:system/etc/init.d/01stesetup \
device/sony/montblanc-common/config/10dhcpcd:system/etc/init.d/10dhcpcd \
device/sony/montblanc-common/config/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf

# Filesystem management tools
Expand Down

0 comments on commit 1a3dd6f

Please sign in to comment.