diff options
author | Kris Katterjohn <kjak@users.sourceforge.net> | 2006-01-09 16:01:43 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-10 12:54:28 -0800 |
commit | d3f4a687f683f536506d0aa6b22e6cb3e79639ce (patch) | |
tree | d1f5fb7177d1dd254e63189cb89e51a86a24f171 /net/core/wireless.c | |
parent | 770cfbcffdf0011ecf3a12435ecb5604c4c97a19 (diff) |
[NET]: Change memcmp(,,ETH_ALEN) to compare_ether_addr()
This changes some memcmp(one,two,ETH_ALEN) to compare_ether_addr(one,two).
Signed-off-by: Kris Katterjohn <kjak@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/wireless.c')
-rw-r--r-- | net/core/wireless.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/wireless.c b/net/core/wireless.c index 271ddb35b0b..f88b0affb3b 100644 --- a/net/core/wireless.c +++ b/net/core/wireless.c @@ -1506,7 +1506,7 @@ void wireless_spy_update(struct net_device * dev, /* Update all records that match */ for(i = 0; i < spydata->spy_number; i++) - if(!memcmp(address, spydata->spy_address[i], ETH_ALEN)) { + if(!compare_ether_addr(address, spydata->spy_address[i])) { memcpy(&(spydata->spy_stat[i]), wstats, sizeof(struct iw_quality)); match = i; |