commit | 796e1112176ada7ebc084491458dfbfbe3a193b6 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Mar 21 09:07:02 2018 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Mar 21 09:08:45 2018 +0100 |
tree | 51542a73a916fa835aac2d901dd5d13391273baf | |
parent | 0466080c751ec2de9efae3ac6305225cc4326047 [diff] |
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. Fixes: cb1a5bae5684 ("mac80211_hwsim: add permanent mac address option for new radios") Reported-by: Jouni Malinen <j@w1.fi> Signed-off-by: Johannes Berg <johannes.berg@intel.com>