diff options
Diffstat (limited to 'drivers/net/hamradio/bpqether.c')
-rw-r--r-- | drivers/net/hamradio/bpqether.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hamradio/bpqether.c b/drivers/net/hamradio/bpqether.c index f91bf0ddf031..d50b23cf9ea9 100644 --- a/drivers/net/hamradio/bpqether.c +++ b/drivers/net/hamradio/bpqether.c | |||
@@ -208,7 +208,7 @@ static int bpq_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_ty | |||
208 | eth = eth_hdr(skb); | 208 | eth = eth_hdr(skb); |
209 | 209 | ||
210 | if (!(bpq->acpt_addr[0] & 0x01) && | 210 | if (!(bpq->acpt_addr[0] & 0x01) && |
211 | memcmp(eth->h_source, bpq->acpt_addr, ETH_ALEN)) | 211 | !ether_addr_equal(eth->h_source, bpq->acpt_addr)) |
212 | goto drop_unlock; | 212 | goto drop_unlock; |
213 | 213 | ||
214 | if (skb_cow(skb, sizeof(struct ethhdr))) | 214 | if (skb_cow(skb, sizeof(struct ethhdr))) |