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)
commit3283e286b859e9214867b2c855db065e41101b03
treecc9622c02087510cc86bf3469ccecf506fda53ed
parent181715203bc0e309b827f99baf44f5a97b19c90c
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