blob: a2fb8deb90f6b62c31958407aea4ed4735b73763 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff -urp ipw2200-1.0.1/ieee80211.h ipw2200-1.0.1-is_multicast_ether_addr/ieee80211.h
--- ipw2200-1.0.1/ieee80211.h 2005-02-08 23:24:04.000000000 +0100
+++ ipw2200-1.0.1-is_multicast_ether_addr/ieee80211.h 2005-06-24 23:26:36.000000000 +0200
@@ -643,10 +643,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)
{
|