Эх сурвалжийг харах

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
Alan Chen 4 жил өмнө
parent
commit
a9c7d3cf94

+ 1 - 0
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},