diff mbox series

[OpenWrt-Devel,v2,10/14] ar71xx/mikrotik: ath10k: use new sysfs driver

Message ID 20200420133503.18700-11-hacks@slashdirt.org
State Accepted
Delegated to: Koen Vandeputte
Headers show
Series RouterBOARD sysfs driver for RouterBoot data | expand

Commit Message

Thibaut April 20, 2020, 1:34 p.m. UTC
Fetch ath10k calibration data from new mikrotik sysfs driver

Signed-off-by: Thibaut VARĂˆNE <hacks@slashdirt.org>
---
 .../linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 03eeb2ef9c..c0e8f17d94 100644
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -121,7 +121,7 @@  case "$FIRMWARE" in
 		;;
 	rb-952ui-5ac2nd|\
 	rb-wapg-5hact2hnd)
-		ath10kcal_from_file "/sys/firmware/routerboot/ext_wlan_data" 0x5000 0x844
+		ath10kcal_from_file "/sys/firmware/mikrotik/hard_config/wlan_data" 0x5000 0x844
 		;;
 	re355|\
 	re450|\
@@ -158,7 +158,7 @@  case "$FIRMWARE" in
 	rb-921gs-5hpacd-r2|\
 	rb-922uags-5hpacd|\
 	rb-962uigs-5hact2hnt)
-		ath10kcal_from_file "/sys/firmware/routerboot/ext_wlan_data" 0x5000 0x844
+		ath10kcal_from_file "/sys/firmware/mikrotik/hard_config/wlan_data" 0x5000 0x844
 		;;
 	wlr8100)
 		ath10kcal_extract "art" 0x5000 0x844