diff --git a/package/network/config/wifi-scripts/Makefile b/package/network/config/wifi-scripts/Makefile index 5637a82ef84..e3e1b8860a2 100644 --- a/package/network/config/wifi-scripts/Makefile +++ b/package/network/config/wifi-scripts/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wifi-scripts PKG_VERSION:=1.0 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_LICENSE:=GPL-2.0 PKG_MAINTAINER:=Felix Fietkau diff --git a/package/network/config/wifi-scripts/files/etc/hotplug.d/ieee80211/11-ath12k-trigger b/package/network/config/wifi-scripts/files/etc/hotplug.d/ieee80211/11-ath12k-trigger index 3c07e52882b..54523947ffd 100755 --- a/package/network/config/wifi-scripts/files/etc/hotplug.d/ieee80211/11-ath12k-trigger +++ b/package/network/config/wifi-scripts/files/etc/hotplug.d/ieee80211/11-ath12k-trigger @@ -3,7 +3,7 @@ # Restart ath12k radios that take long time to initialize on boot [ "${ACTION}" = "add" ] || exit 0 -[ $(grep -c DRIVER=ath12k_pci /sys/$DEVPATH/device/uevent) -gt 0 ] || exit 0 +grep -qE "^DRIVER=ath12k(_wifi7)?_pci$" /sys/$DEVPATH/device/uevent || exit 0 . /usr/share/libubox/jshn.sh