qosmngr: correct cpu_model check

This commit is contained in:
Sukru Senli 2020-11-13 22:51:13 +01:00
parent 6f15e7ff27
commit c9b2973ac8

View file

@ -743,10 +743,10 @@ configure_qos() {
reload_qos() {
local service_name="$1"
local cpu_model="$(grep Hardware /proc/cpuinfo | awk '{print$NF}')"
local cpu_model="$(brcm_fw_tool -k info)"
case $cpu_model in
BCM968*) POLICER_SKIP=1 ;;
68*|6755) POLICER_SKIP=1 ;;
esac
if [ -z "$service_name" ]; then