diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-06-13 14:56:10 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-06-13 14:56:10 +0200 |
commit | d8fd29701538a4b86d201b215d3334163abfd7b6 (patch) | |
tree | 28d7cfd26a7bab12c6f4a8382734d8e82e2a0686 | |
parent | 5412f248336d53be7780d5fa5d2da2f87dbfd884 (diff) | |
download | device_samsung_tuna-replicant-6.0.zip device_samsung_tuna-replicant-6.0.tar.gz device_samsung_tuna-replicant-6.0.tar.bz2 |
Wi-Fi driver as a moduleHEADreplicant-6.0
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rwxr-xr-x | BoardConfig.mk | 3 | ||||
-rw-r--r-- | sepolicy/system_server.te | 2 |
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 }; |