diff options
author | Paul Fertser <fercerpav@gmail.com> | 2020-10-16 23:24:19 +0300 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-12-22 18:59:10 +0100 |
commit | 39c8bc4422f0404af5b85c10eeb2c4098d919cdb (patch) | |
tree | c40638122a458169bb3a5ea627f4a8ea3e10112a /target/linux/ramips/patches-5.4 | |
parent | a9deace10c0f4c9e82091f579e96aa83f5b7aeb6 (diff) | |
download | upstream-39c8bc4422f0404af5b85c10eeb2c4098d919cdb.tar.gz upstream-39c8bc4422f0404af5b85c10eeb2c4098d919cdb.tar.bz2 upstream-39c8bc4422f0404af5b85c10eeb2c4098d919cdb.zip |
mac80211: fix MAC address allocations when local bit set on base addr
Testing with hwsim reveals two problems:
1. phyX/addresses has two addresses and mac80211_get_addr keeps
returning the last one when asked for more;
2. The base address has the local bit set and the operation unsets it.
Fix both.
Fixes: 866790fd827cb0187353cdf484eb46a9b38fb6ba
Reported-by: Zero_Chaos
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'target/linux/ramips/patches-5.4')
0 files changed, 0 insertions, 0 deletions