map-agent: map_genconfig: check for ath12k to identify qca

This commit is contained in:
Jakob Olsson 2023-11-27 14:08:45 +01:00
parent 50bee657ba
commit 9b4c941cd4

View file

@ -19,8 +19,8 @@ is_broadcom() {
} }
is_qualcomm() { is_qualcomm() {
[ -f /proc/device-tree/compatible ] || return [ -d /sys/module/ath12k ] || return 0
strings /proc/device-tree/compatible | grep -qE '^(qcom,|ipq,)'; return return 1
} }
generate_multiap_config() { generate_multiap_config() {