Paul Fertser 39c8bc4422 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>
2020-12-22 18:59:10 +01:00
..
2020-12-22 18:59:10 +01:00
2020-12-22 18:59:10 +01:00
2020-12-22 18:59:10 +01:00
2020-12-22 18:59:10 +01:00
2020-12-16 22:11:19 +01:00