projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wireless: Convert compare_ether_addr to ether_addr_equal
[deliverable/linux.git]
/
net
/
wireless
/
wext-spy.c
diff --git
a/net/wireless/wext-spy.c
b/net/wireless/wext-spy.c
index 5d643a548feb19b823c3948f2cdcde1605c32c9a..33bef22e44e9511a825d4b84ba52f05a1c2dfb08 100644
(file)
--- a/
net/wireless/wext-spy.c
+++ b/
net/wireless/wext-spy.c
@@
-203,7
+203,7
@@
void wireless_spy_update(struct net_device * dev,
/* Update all records that match */
for (i = 0; i < spydata->spy_number; i++)
/* Update all records that match */
for (i = 0; i < spydata->spy_number; i++)
- if (
!compare_ether_addr
(address, spydata->spy_address[i])) {
+ if (
ether_addr_equal
(address, spydata->spy_address[i])) {
memcpy(&(spydata->spy_stat[i]), wstats,
sizeof(struct iw_quality));
match = i;
memcpy(&(spydata->spy_stat[i]), wstats,
sizeof(struct iw_quality));
match = i;
This page took
0.039677 seconds
and
5
git commands to generate.