From a9c7d3cf945fc2eedf18dbe2360dd0231e1cdbd0 Mon Sep 17 00:00:00 2001 From: Alan Chen Date: Mon, 24 Aug 2020 16:14:44 -0700 Subject: [PATCH] qcacld-3.0: Add nested attribute for SAR_LIMITS_SPEC SET_SAR_LIMITS command expects nested attribute. Hence, add nested attribute for SAR_LIMITS_SPEC. Change-Id: Ib810682dcfcc051d50b835011cdd82c375dd390b CRs-Fixed: 2754281 --- core/hdd/src/wlan_hdd_sar_limits.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/hdd/src/wlan_hdd_sar_limits.c b/core/hdd/src/wlan_hdd_sar_limits.c index b7f7d8c1aa..cd4d703405 100644 --- a/core/hdd/src/wlan_hdd_sar_limits.c +++ b/core/hdd/src/wlan_hdd_sar_limits.c @@ -322,6 +322,7 @@ const struct nla_policy wlan_hdd_sar_limits_policy[SAR_LIMITS_MAX + 1] = { [SAR_LIMITS_SAR_ENABLE] = {.type = NLA_U32}, [SAR_LIMITS_NUM_SPECS] = {.type = NLA_U32}, + [SAR_LIMITS_SPEC] = {.type = NLA_NESTED}, [SAR_LIMITS_SPEC_BAND] = {.type = NLA_U32}, [SAR_LIMITS_SPEC_CHAIN] = {.type = NLA_U32}, [SAR_LIMITS_SPEC_MODULATION] = {.type = NLA_U32},