treewide: move MAC address patch functions to common library
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 22 Sep 2019 09:57:14 +0000 (11:57 +0200)
committerDavid Bauer <mail@david-bauer.net>
Mon, 14 Oct 2019 10:36:02 +0000 (12:36 +0200)
commit2c60de0e3f8cbe088fe8e495697cb9e98380710d
treea632a507208870d4b589dd7ee63d184ba6e2d0f3
parent5b6a80909280cafcb1e28ca120eed6922d68dc5a
treewide: move MAC address patch functions to common library

This unifies MAC address patch functions and moves them to a
common script. While those were implemented differently for
different targets, they all seem to do the same. The number of
different variants is significantly reduced by this patch.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
package/base-files/files/lib/functions/caldata.sh
target/linux/apm821xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom