mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-16 15:20:42 +01:00
![Andrew Zaborowski](/assets/img/avatar_default.png)
In mac80211_hwsim each radio is assigned two addresses, the second (addr 1) being used over nl80211. In SendFrame we'd hardcode the mapping of address 0 to address 1 even though we track all the addresses in radio_info, so instead use that data to find the radio that has given address 0. Also if no address 0 matches what was supplied over DBus try to find a matching address 1. There are ways userspace can request different addresses when managing mac80211_hwsim radios and the hardcoded mapping would become wrong.