]> git.pld-linux.org Git - packages/acx.git/blame - acx-skb.patch
- rel 4; with 2.6.30 patch
[packages/acx.git] / acx-skb.patch
CommitLineData
f4f9308c 1--- acx-20070101/common.c~ 2007-01-10 21:15:27.000000000 +0000
2+++ acx-20070101/common.c 2007-09-09 23:46:52.163771282 +0000
3@@ -2754,7 +2754,11 @@ acx_l_rxmonitor(acx_device_t *adev, cons
4 skb->dev = adev->ndev;
5 skb->dev->last_rx = jiffies;
6
7+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
8 skb->mac.raw = skb->data;
9+#else
10+ skb->mac_header = skb->data;
11+#endif
12 skb->ip_summed = CHECKSUM_NONE;
13 skb->pkt_type = PACKET_OTHERHOST;
14 skb->protocol = htons(ETH_P_80211_RAW);
This page took 0.234122 seconds and 4 git commands to generate.