wifi-scripts: fix mac address allocation with macaddr_base set
authorFelix Fietkau <nbd@nbd.name>
Tue, 11 Feb 2025 17:28:40 +0000 (18:28 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 11 Feb 2025 17:30:27 +0000 (18:30 +0100)
commit7955545469688cbb228b8c5f3bdc519d12c2e8d5
tree891470a0a42408ae3a7b6601852a22bbbc4cb855
parentf47125f6644b58063b7b653a58c2338ed9d59c99
wifi-scripts: fix mac address allocation with macaddr_base set

The 00 address_mask needs to be inverted, otherwise the mac address
allocation will modify the last byte instead of the first one.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 1ee44825ad0d00527c8850446affc820d74c6e8b)
package/network/config/wifi-scripts/files/usr/share/hostap/common.uc