Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0bf9d1c4 authored by Johannes Berg's avatar Johannes Berg Committed by Treehugger Robot
Browse files

UPSTREAM: mac80211_hwsim: fix secondary MAC address assignment



OR'ing in 0x40 before a memcpy() to overwrite the value doesn't
do much good - flip the order of operations are reported and
tested by Jouni.

Bug: 254441685
Fixes: cb1a5bae ("mac80211_hwsim: add permanent mac address option for new radios")
Reported-by: default avatarJouni Malinen <j@w1.fi>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
(cherry picked from commit 796e1112)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: Ic2cc28c997e0b0446a7d5a85f84bd8d7a44e2b50
parent a71b40b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment