aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHashcode <hashcode0f@gmail.com>2015-02-16 21:40:10 -0800
committerHashcode <hashcode0f@gmail.com>2015-02-16 21:40:10 -0800
commit1c070c4ec13528fcee75ebb79be655ada6a7e29f (patch)
tree2c7d6792be80f85b431e24ea835842a32eeffe59
parent1779b778ca3a916b0c62e3f36a7361b8b37a62ee (diff)
wifi: let device insmod sdio module after MAC setup
Change-Id: I58f212c34c35943928626be386deec30b2886418
-rw-r--r--init.otter-common.rc8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.otter-common.rc b/init.otter-common.rc
index 3b39841..94d6921 100644
--- a/init.otter-common.rc
+++ b/init.otter-common.rc
@@ -47,11 +47,14 @@ on post-fs
# wi-fi
setprop wifi.interface "wlan0"
setprop softap.interface "wlan0"
+
insmod /system/lib/modules/compat.ko
insmod /system/lib/modules/cfg80211.ko
insmod /system/lib/modules/mac80211.ko
insmod /system/lib/modules/wl12xx.ko
- insmod /system/lib/modules/wl12xx_sdio.ko
+
+ # run mac script
+ start fixmac
on post-fs-data
mkdir /data/tmp 0777 system system
@@ -63,9 +66,6 @@ on post-fs-data
chown drmrpc drmrpc /data/smc/storage.bin
chown drmrpc drmrpc /data/smc/system.bin
- # run mac script
- start fixmac
-
# mount system ro
mount ext4 /dev/block/platform/omap/omap_hsmmc.1/by-name/system /system ro remount