aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libelf
diff options
context:
space:
mode:
authorLeon M. George <leon@georgemail.eu>2020-04-30 10:26:36 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-24 01:21:24 +0200
commit8f95220bcb554b1b668114e5264ebce4028c5f93 (patch)
tree584e838d98892c0522230b73fa4dfdfd32145f93 /tools/libelf
parent6da319412753ac99a895f09b9735c7f44fd0bf2c (diff)
downloadupstream-8f95220bcb554b1b668114e5264ebce4028c5f93.tar.gz
upstream-8f95220bcb554b1b668114e5264ebce4028c5f93.tar.bz2
upstream-8f95220bcb554b1b668114e5264ebce4028c5f93.zip
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: 4d99db168cf7 ("mac80211: try to get interface addresses from wiphy sysfs 'addresses' if no mask is set") Signed-off-by: Leon M. George <leon@georgemail.eu>
Diffstat (limited to 'tools/libelf')
0 files changed, 0 insertions, 0 deletions