qcacld-3.0: Enable policy manager utfw only in slub debug build
1) CONFIG_MPC_UT_FRAMEWORK should only be enabled for slub debug build 2) CONFIG_MPC_UT_FRAMEWORK should be protected under gEnableUnitTestFramework INI setting. CRs-Fixed: 2309562 Change-Id: I314ec928af2a350d518eb8f8dd62dbadee1746e8
Цей коміт міститься в:
@@ -175,7 +175,6 @@ ifeq ($(CONFIG_ROME_IF),usb)
|
||||
CONFIG_LINUX_QCMBR :=y
|
||||
endif
|
||||
|
||||
CONFIG_MPC_UT_FRAMEWORK := y
|
||||
|
||||
CONFIG_FEATURE_EPPING := y
|
||||
|
||||
@@ -232,6 +231,7 @@ CONFIG_MCC_TO_SCC_SWITCH := y
|
||||
ifeq ($(CONFIG_SLUB_DEBUG), y)
|
||||
# Enable Obj Mgr Degug services if slub build
|
||||
CONFIG_WLAN_OBJMGR_DEBUG:= y
|
||||
CONFIG_MPC_UT_FRAMEWORK := y
|
||||
endif
|
||||
|
||||
ifeq (y,$(findstring y,$(CONFIG_QCA_WIFI_SDIO) $(CONFIG_HIF_USB)))
|
||||
|
@@ -7391,8 +7391,12 @@ static int __iw_set_var_ints_getnone(struct net_device *dev,
|
||||
case WE_POLICY_MANAGER_QUERY_ALLOW_CMD:
|
||||
case WE_POLICY_MANAGER_SCENARIO_CMD:
|
||||
{
|
||||
if (!hdd_ctx->config->is_unit_test_framework_enabled) {
|
||||
hdd_warn_rl("UT framework is disabled");
|
||||
return -EINVAL;
|
||||
}
|
||||
iw_get_policy_manager_ut_ops(hdd_ctx, adapter,
|
||||
sub_cmd, apps_args);
|
||||
sub_cmd, apps_args);
|
||||
}
|
||||
break;
|
||||
case WE_SET_CHAN_AVOID:
|
||||
|
Посилання в новій задачі
Заблокувати користувача