diff options
author | Leon M. George <leon@georgemail.eu> | 2020-04-30 10:26:36 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-06-30 22:13:23 +0200 |
commit | 73fecd36bfd2b9f92a2a20f38bdb73b4433dec3e (patch) | |
tree | 53c93d5221a994d83d80415be0fb1c6471fba09f /target/linux/layerscape/patches-4.14/801-sata-support-layerscape.patch | |
parent | 938839a56586c13defe3e824c2445310ca50c7dc (diff) | |
download | upstream-73fecd36bfd2b9f92a2a20f38bdb73b4433dec3e.tar.gz upstream-73fecd36bfd2b9f92a2a20f38bdb73b4433dec3e.tar.bz2 upstream-73fecd36bfd2b9f92a2a20f38bdb73b4433dec3e.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>
(cherry picked from commit 8f95220bcb554b1b668114e5264ebce4028c5f93)
Diffstat (limited to 'target/linux/layerscape/patches-4.14/801-sata-support-layerscape.patch')
0 files changed, 0 insertions, 0 deletions