소스 검색

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 년 전
부모
커밋
a9c7d3cf94
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      core/hdd/src/wlan_hdd_sar_limits.c

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