--- /dev/null
+--- acx-20070101/common.c~ 2007-01-10 21:15:27.000000000 +0000
++++ acx-20070101/common.c 2007-09-09 23:46:52.163771282 +0000
+@@ -2754,7 +2754,11 @@ acx_l_rxmonitor(acx_device_t *adev, cons
+ skb->dev = adev->ndev;
+ skb->dev->last_rx = jiffies;
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
+ skb->mac.raw = skb->data;
++#else
++ skb->mac_header = skb->data;
++#endif
+ skb->ip_summed = CHECKSUM_NONE;
+ skb->pkt_type = PACKET_OTHERHOST;
+ skb->protocol = htons(ETH_P_80211_RAW);
Group: Base/Kernel
Source0: http://www.cmartin.tk/acx/%{name}-%{version}.tar.bz2
# Source0-md5: ec6322b9c82781897a9433ef0cefda6f
+Patch0: %{name}-skb.patch
URL: http://acx100.sourceforge.net/
%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
BuildRequires: rpmbuild(macros) >= 1.379
%prep
%setup -q
+%patch0 -p1
%build
%build_kernel_modules -m acx