ramips: mt7621: refactor set affinity script
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Thu, 4 Jun 2020 04:00:44 +0000 (12:00 +0800)
committerPetr Štetiar <ynezz@true.cz>
Sat, 11 Jul 2020 13:15:04 +0000 (15:15 +0200)
commit23de93a5216bf1c24c4e4c71f6cad4455c3cfa2c
tree78f62ba431f81d954ccc18c71ddf72d24198a9b6
parentff8b8fee890dae345d6a5189a8633214f6a4da3a
ramips: mt7621: refactor set affinity script

The current one only looks for mt76x2e and mt7603e, and
does not work for 2 or more same Wi-Fi chips.
Refactor the script to cover those cases.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
target/linux/ramips/mt7621/base-files/etc/init.d/set-irq-affinity