]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211_hwsim: clean up own address matching
authorJohannes Berg <johannes.berg@intel.com>
Thu, 12 Jun 2014 20:34:49 +0000 (22:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Jun 2014 12:22:20 +0000 (14:22 +0200)
commitb373a31a195a0751e4a33583e8d4d49d41e52434
treecc9622c02087510cc86bf3469ccecf506fda53ed
parent8a44f5a6e820c4c61ba6e3e201fb5e5ce4c37260
mac80211_hwsim: clean up own address matching

Using perm_addr is always wrong, it may be reassigned by
anyone using standard netdev APIs. Remove that from the
match function and also use the match function where only
the perm_addr was used now.

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