mac80211: fix detecting highest radio* config section index
authorFelix Fietkau <nbd@nbd.name>
Mon, 10 Oct 2022 11:26:32 +0000 (13:26 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 14 Oct 2022 11:12:49 +0000 (13:12 +0200)
commitdb9c4a066aadef7be304ab4bdb44f31eac5fbc0d
tree9babbd28c659b955e5dbfe9e4ed35fe0feed36f2
parent4d323303e7e5743f541e3b41dfb2ac1627e8d96d
mac80211: fix detecting highest radio* config section index

Deal with gaps by iterating over existing sections instead of counting

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/mac80211/files/lib/wifi/mac80211.sh