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
This commit is contained in:
Alan Chen
2020-08-24 16:14:44 -07:00
committed by snandini
parent 33064de124
commit a9c7d3cf94

View File

@@ -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},