summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xBoardConfig.mk3
-rw-r--r--sepolicy/system_server.te2
2 files changed, 4 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index c5ada6f..4817642 100755
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -85,9 +85,10 @@ BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
-#WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcmdhd.ko"
+WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcmdhd.ko"
WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin"
WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin"
+WIFI_DRIVER_MODULE_NAME := "bcmdhd"
WIFI_BAND := 802_11_ABG
# Bluetooth
diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te
index 072e89d..af878eb 100644
--- a/sepolicy/system_server.te
+++ b/sepolicy/system_server.te
@@ -2,3 +2,5 @@
# Needed for /system/vendor/lib/hw/gps.omap4.so
allow system_server system_file:file { execmod };
+
+allow system_server self:capability { sys_module };