]> git.pld-linux.org Git - packages/acx.git/commitdiff
- changes against 2.6.22
authorzbyniu <zbyniu@pld-linux.org>
Sun, 9 Sep 2007 23:56:06 +0000 (23:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    acx-skb.patch -> 1.1
    acx.spec -> 1.69

acx-skb.patch [new file with mode: 0644]
acx.spec

diff --git a/acx-skb.patch b/acx-skb.patch
new file mode 100644 (file)
index 0000000..b4592ca
--- /dev/null
@@ -0,0 +1,14 @@
+--- 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);
index 89a03217e094872f727eafce6cd3e16be7e3f87a..354a7628db12daa47e1014bf920d32a881c8a82e 100644 (file)
--- a/acx.spec
+++ b/acx.spec
@@ -14,6 +14,7 @@ License:      MPL or GPL
 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
@@ -42,6 +43,7 @@ Sterownik dla Linuksa do kart WLAN opartych o ukÅ‚ad ACX100/ACX111.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %build_kernel_modules -m acx
This page took 0.089053 seconds and 4 git commands to generate.