acrn-config: fix csme passthrough issue for launch setting

minor_ver should be le 2 when major_ver == 2.

Tracked-On: #5276

Signed-off-by: Shuang Zheng <shuang.zheng@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Shuang Zheng
2020-09-04 12:06:06 +08:00
committed by wenlingz
parent 0461ac209f
commit 84c4c43833
4 changed files with 4 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ hbm_ver=`cat /sys/class/mei/mei0/hbm_ver`
major_ver=`echo $hbm_ver | cut -d '.' -f1`
minor_ver=`echo $hbm_ver | cut -d '.' -f2`
if [[ "$major_ver" -lt "2" ]] || \
[[ "$major_ver" == "2" && "$minor_ver" -lt "2" ]]; then
[[ "$major_ver" == "2" && "$minor_ver" -le "2" ]]; then
cse_passthrough=1
fi