blob: 2c4f889079998b638f33598fd1dff925f2b237eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -Nup ipw2200-1.0.8-orig/ipw2200.c ipw2200-1.0.8/ipw2200.c
--- ipw2200-1.0.8-orig/ipw2200.c 2005-10-20 16:35:24.000000000 -0500
+++ ipw2200-1.0.8/ipw2200.c 2005-11-03 10:29:53.000000000 -0600
@@ -7984,8 +7984,8 @@ static void ipw_rebuild_decrypted_skb(st
static inline int ipw_is_broadcast_ether_addr(const u8 * addr)
{
- return (addr[0] & 0xff && addr[1] & 0xff && addr[2] & 0xff &&
- addr[3] & 0xff && addr[4] & 0xff && addr[5] & 0xff);
+ return (addr[0] & addr[1] & addr[2] & addr[3] & addr[4] & addr[5]) ==
+ 0xff;
}
static void ipw_handle_data_packet(struct ipw_priv *priv,
|