openwrt/package/kernel/mac80211/files/lib
Leon M. George 73fecd36bf mac80211: fix use of local variable
mac80211_get_addr is called from mac80211_generate_mac, where the local variable
initialisation id="${macidx:-0}" suggests that macidx is not always defined.
Probably, idx was supposed to be used instead of $(($macidx + 1)).

Fixes: 4d99db168c ("mac80211: try to get interface addresses from wiphy sysfs 'addresses' if no mask is set")

Signed-off-by: Leon M. George <leon@georgemail.eu>
(cherry picked from commit 8f95220bcb)
2020-06-30 22:13:23 +02:00
..
netifd/wireless mac80211: fix use of local variable 2020-06-30 22:13:23 +02:00
wifi mac80211: join 5GHz checks 2018-04-19 14:40:26 +02:00