]> 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)
commit53655b64acdf6cf809cdb506c30b2ad436c83f8b
tree9f106dc21e51beeb5d23622c6b5bcca969779b1b
parentcbd68440efd21051bb284e44f564311d9d39b0ce
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