diff --git a/map-agent/files/lib/multiap/map_genconfig b/map-agent/files/lib/multiap/map_genconfig index 015d2da22..47da37581 100644 --- a/map-agent/files/lib/multiap/map_genconfig +++ b/map-agent/files/lib/multiap/map_genconfig @@ -19,8 +19,8 @@ is_broadcom() { } is_qualcomm() { - [ -f /proc/device-tree/compatible ] || return - strings /proc/device-tree/compatible | grep -qE '^(qcom,|ipq,)'; return + [ -d /sys/module/ath12k ] || return 0 + return 1 } generate_multiap_config() {