treewide: use the generic board_name function
[openwrt/staging/hauke.git] / target / linux / ipq806x / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index 40e1330bf0b46f5562a114d790c9dd609b1d6cdc..39757eb16158c162eb69854e716c76d6a6f264e5 100644 (file)
@@ -38,11 +38,10 @@ ath10kcal_patch_mac() {
 
 [ -e /lib/firmware/$FIRMWARE ] && exit 0
 
-. /lib/ipq806x.sh
 . /lib/functions.sh
 . /lib/functions/system.sh
 
-board=$(ipq806x_board_name)
+board=$(board_name)
 
 
 case "$FIRMWARE" in