]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit703349445db9409c710446643da14a42205ce8c3
tree9f106dc21e51beeb5d23622c6b5bcca969779b1b
parentc895cf5f99e079c78e75cf615f8b10973d59772c
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