diff options
author | Joe Perches <joe@perches.com> | 2012-05-08 18:56:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-09 20:49:18 -0400 |
commit | 3bc7945e2642bcea92b0fd6a718565f45061439f (patch) | |
tree | 4437668566814f6a9f10a6ddcf22e575e208a039 /net/mac80211/sta_info.h | |
parent | b203ca39126bad99583c908be587df067820a1ea (diff) | |
download | op-kernel-dev-3bc7945e2642bcea92b0fd6a718565f45061439f.zip op-kernel-dev-3bc7945e2642bcea92b0fd6a718565f45061439f.tar.gz |
mac80211: Convert compare_ether_addr to ether_addr_equal by hand
spatch/coccinelle isn't perfect. It doesn't understand
__aligned(x) and doesn't convert functions it can't parse.
Convert the remaining compare_ether_addr uses.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r-- | net/mac80211/sta_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index f75f5d9..e920b22 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h @@ -501,7 +501,7 @@ void for_each_sta_info_type_check(struct ieee80211_local *local, nxt = _sta ? rcu_dereference(_sta->hnext) : NULL \ ) \ /* compare address and run code only if it matches */ \ - if (compare_ether_addr(_sta->sta.addr, (_addr)) == 0) + if (ether_addr_equal(_sta->sta.addr, (_addr))) /* * Get STA info by index, BROKEN! |