kernel-module-qualcomm: do not log any error if dtb regdomain is not set
Do not add a log error if there is not defined a device tree entry for the regulatory domain. Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
parent
02c961eb3f
commit
fc959bd23f
|
|
@ -61,7 +61,9 @@ case "${DTB_REGION_CODE}" in
|
|||
${US_CODE}|${WW_CODE}|${JP_CODE})
|
||||
REGULATORY_DOMAIN=${DTB_REGION_CODE};;
|
||||
*)
|
||||
if [ -n "${DTB_REGION_CODE}" ]; then
|
||||
logger -t qca6564 "[ERROR] Invalid region code in device tree, using OTP value"
|
||||
fi
|
||||
REGULATORY_DOMAIN=${OTP_REGION_CODE};;
|
||||
esac
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue