nx: Nuke wifi_reset from orbit
* New cypress-fmac works with sleep! Change-Id: I62655f9b4f6ac2b1f5240f28305eb0578f934bfd
This commit is contained in:
1 parent
4d434fb8c7
commit
bac88dd586
8 files changed
-52
No files matched your search
@@ -101,15 +101,6 @@ LOCAL_MODULE_CLASS := EXECUTABLES
|
||||
LOCAL_VENDOR_MODULE := true
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
# Goes on system due to needing `settings` and `svc`
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := wifi_reset
|
||||
LOCAL_SRC_FILES := wifi_reset.sh
|
||||
LOCAL_MODULE_SUFFIX := .sh
|
||||
LOCAL_INIT_RC := wifi_reset.rc
|
||||
LOCAL_MODULE_CLASS := EXECUTABLES
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := nx_cec.rc
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
service wifi_reset /system/bin/wifi_reset.sh
|
||||
user root
|
||||
group root system
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
on property:wlan.driver.status=unloaded
|
||||
start wifi_reset
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/system/bin/sh
|
||||
|
||||
user_state=$(/system/bin/settings get global wifi_on)
|
||||
if [ $user_state = "1" ]; then
|
||||
svc wifi enable
|
||||
fi
|
||||
Reference in new issue
Block a user