mac80211_hwsim: support any address in userspace
authorBob Copeland <me@bobcopeland.com>
Tue, 24 Feb 2015 13:39:44 +0000 (08:39 -0500)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 28 Feb 2015 20:31:10 +0000 (21:31 +0100)
commitcd37a90b2a417e5882414e19954eeed174aa4d29
tree9f106dc21e51beeb5d23622c6b5bcca969779b1b
parent2afe38d15cee01b2bb8f22383571f7f4a95f2d99
mac80211_hwsim: support any address in userspace

Due to the checks in get_hwsim_data_ref_from_addr, wmediumd
was only able to use the second mac address (those starting with
0x42).  This is confusing and needlessly limiting, so allow any
configured address.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c