blob: 0629b376ae2aa5935665a966975c62f19b6694c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
diff -urp ipw2200-1.0.3/net/ieee80211.h ipw2200-1.0.3-is_multicast_ether_addr/net/ieee80211.h
--- ipw2200-1.0.3/net/ieee80211.h 2005-04-08 23:36:51.000000000 +0200
+++ ipw2200-1.0.3-is_multicast_ether_addr/net/ieee80211.h 2005-06-20 12:22:48.000000000 +0200
@@ -655,10 +655,12 @@ enum ieee80211_state {
#define MAC_ARG(x) ((u8*)(x))[0],((u8*)(x))[1],((u8*)(x))[2],((u8*)(x))[3],((u8*)(x))[4],((u8*)(x))[5]
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12)
extern inline int is_multicast_ether_addr(const u8 *addr)
{
return ((addr[0] != 0xff) && (0x01 & addr[0]));
}
+#endif
extern inline int is_broadcast_ether_addr(const u8 *addr)
{
Only in ipw2200-1.0.3-is_multicast_ether_addr/net: ieee80211.h.orig
|