aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2007-07-11 03:56:07 -0400
committerGuido Guenther <agx@bogon.sigxcpu.org>2007-07-15 12:19:05 -0400
commit2699317158d9424cfb0c96c0f470fdf46c25cf32 (patch)
treec89b4b45bc79e59c0495bd9c26bc4030a13076b6
parent250fd5d94bfd382b1b1e8864feff1e6e318c7626 (diff)
[PATCH] Use is_broadcast_ether_addr() where appropriate
Signed-off-by: Pavel Roskin <proski@gnu.org>
-rw-r--r--at76_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/at76_usb.c b/at76_usb.c
index 0ec97e1..e49d0db 100644
--- a/at76_usb.c
+++ b/at76_usb.c
@@ -5604,7 +5604,7 @@ static void at76_rx_data(struct at76_priv *priv)
skb->dev = netdev;
skb->ip_summed = CHECKSUM_NONE; /* TODO: should check CRC */
- if (i802_11_hdr->addr1[0] & 1) {
+ if (is_broadcast_ether_addr(i802_11_hdr->addr1)) {
if (!compare_ether_addr(i802_11_hdr->addr1, netdev->broadcast))
skb->pkt_type = PACKET_BROADCAST;
else