aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/otus/wrap_pkt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/otus/wrap_pkt.c')
-rw-r--r--drivers/staging/otus/wrap_pkt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/otus/wrap_pkt.c b/drivers/staging/otus/wrap_pkt.c
index 7a8e2e5db0e..5db0004c873 100644
--- a/drivers/staging/otus/wrap_pkt.c
+++ b/drivers/staging/otus/wrap_pkt.c
@@ -65,11 +65,7 @@ void zfLnxRecv80211(zdev_t* dev, zbuf_t* buf, struct zsAdditionInfo* addInfo)
if(skb1 != NULL)
{
skb1->dev = dev;
- #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22))
- skb1->mac.raw = skb1->data;
- #else
skb1->mac_header = skb1->data;
- #endif
skb1->ip_summed = CHECKSUM_NONE;
skb1->pkt_type = PACKET_OTHERHOST;
skb1->protocol = __constant_htons(0x0019); /* ETH_P_80211_RAW */