diff options
Diffstat (limited to 'drivers/net/fddi')
-rw-r--r-- | drivers/net/fddi/skfp/fplustm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/fddi/skfp/fplustm.c b/drivers/net/fddi/skfp/fplustm.c index d918d8a42667..7d3779ae7377 100644 --- a/drivers/net/fddi/skfp/fplustm.c +++ b/drivers/net/fddi/skfp/fplustm.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include "h/smc.h" | 23 | #include "h/smc.h" |
24 | #include "h/supern_2.h" | 24 | #include "h/supern_2.h" |
25 | #include <linux/bitrev.h> | 25 | #include <linux/bitrev.h> |
26 | #include <linux/etherdevice.h> | ||
26 | 27 | ||
27 | #ifndef lint | 28 | #ifndef lint |
28 | static const char ID_sccs[] = "@(#)fplustm.c 1.32 99/02/23 (C) SK " ; | 29 | static const char ID_sccs[] = "@(#)fplustm.c 1.32 99/02/23 (C) SK " ; |
@@ -1082,7 +1083,7 @@ static struct s_fpmc* mac_get_mc_table(struct s_smc *smc, | |||
1082 | slot = tb ; | 1083 | slot = tb ; |
1083 | continue ; | 1084 | continue ; |
1084 | } | 1085 | } |
1085 | if (memcmp((char *)&tb->a,(char *)own,6)) | 1086 | if (!ether_addr_equal((char *)&tb->a, (char *)own)) |
1086 | continue ; | 1087 | continue ; |
1087 | return tb; | 1088 | return tb; |
1088 | } | 1089 | } |