Permalink
Browse files

mogami: update wifi setup

Change-Id: I4462f78645a78922158bf3c48cb94cebbcf69bf2
  • Loading branch information...
1 parent 30a8c1f commit d6db870482cc5bd4780879f7519d9b8e32714790 @freexperia freexperia committed Nov 10, 2012
Showing with 8 additions and 8 deletions.
  1. +2 −0 mogami.mk
  2. +0 −4 prebuilt/init.semc.rc
  3. +6 −4 prebuilt/wifiload
View
@@ -15,6 +15,8 @@
#
-include device/semc/msm7x30-common/msm7x30.mk
+$(call inherit-product-if-exists, vendor/semc/mogami-common/mogami-vendor-blobs.mk)
+
DEVICE_PACKAGE_OVERLAYS += device/semc/mogami-common/overlay
# Init files and configs
View
@@ -12,8 +12,6 @@ on post-fs-data
mkdir /data/misc/wifi 0770 wifi wifi
mkdir /data/misc/wifi/sockets 0770 wifi wifi
mkdir /data/misc/wifi/hostapd 0770 wifi wifi
-# chmod 0660 /data/misc/wifi/wpa_supplicant.conf
-# chown wifi.wifi /data/misc/wifi/wpa_supplicant.conf
mkdir /data/misc/dhcp 0770 dhcp dhcp
chown dhcp dhcp /data/misc/dhcp
@@ -102,8 +100,6 @@ on boot
#load new wl1271 modules
exec /system/bin/wifiload
- insmod /system/lib/modules/wl12xx.ko
- insmod /system/lib/modules/wl12xx_sdio.ko
# USB host support
mkdir /dev/bus 0771 system system
View
@@ -1,6 +1,4 @@
-#!/system/xbin/ash
-
-# update nvs data on first boot...
+#!/system/bin/sh
if [ ! -f /system/etc/firmware/wl1271-nvs.bin ]; then
mkdir /data/etc
@@ -12,5 +10,9 @@ chown wifi.wifi /data/etc/wifi
/system/bin/nvimport
/system/bin/calibrator set upd_nvs /etc/tiwlan.ini /data/etc/wifi/fw
-
fi
+
+/system/bin/insmod /system/lib/modules/wl12xx.ko
+/system/bin/insmod /system/lib/modules/wl12xx_sdio.ko
+/system/bin/iw phy phy0 wowlan enable any
+

0 comments on commit d6db870

Please sign in to comment.