projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: do not "local" variables outside of a function
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
base-files
/
etc
/
hotplug.d
/
firmware
/
11-ath10k-caldata
diff --git
a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 0d8084fa1020f4bb70156405b5ac6a0de012ad52..dc95da78a56e6e3cce1e3b980aa7860601855999 100644
(file)
--- a/
target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/
target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@
-35,11
+35,11
@@
ath10k_caldata_set_macaddr() {
case "$FIRMWARE" in
"ath10k/cal-pci-0000:02:00.0.bin")
case "$FIRMWARE" in
"ath10k/cal-pci-0000:02:00.0.bin")
-
local
board=$(lantiq_board_name)
+ board=$(lantiq_board_name)
case $board in
BTHOMEHUBV5A)
case $board in
BTHOMEHUBV5A)
- l
ocal l
an_mac=$(mtd_get_mac_binary caldata 4364)
-
local
wifi_mac=$(macaddr_add "$lan_mac" 3)
+ lan_mac=$(mtd_get_mac_binary caldata 4364)
+ wifi_mac=$(macaddr_add "$lan_mac" 3)
ath10k_caldata_extract "caldata" 20480
ath10k_caldata_set_macaddr $wifi_mac
;;
ath10k_caldata_extract "caldata" 20480
ath10k_caldata_set_macaddr $wifi_mac
;;