Browse Source

Andreas V. Meier:


			
			
				rocklinux
			
			
		
Andreas V. 'netrunner' Meier 19 years ago
parent
commit
7de7c74751
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      package/avm/ipw2100/kernel-2.6.12.patch

+ 16
- 0
package/avm/ipw2100/kernel-2.6.12.patch

@ -0,0 +1,16 @@
diff -ruN ipw2100-1.1.0/ieee80211.h ipw2100-1.1.0-new/ieee80211.h
--- ipw2100-1.1.0/ieee80211.h 2005-03-14 17:54:24.000000000 +0100
+++ ipw2100-1.1.0-new/ieee80211.h 2005-06-24 16:12:35.000000000 +0200
@@ -643,10 +643,12 @@
#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)
{

Loading…
Cancel
Save