summaryrefslogtreecommitdiff
path: root/drivers/staging/otus/wrap_pkt.c
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2008-12-07 03:58:47 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 21:52:11 (GMT)
commitf4f85ff7255836122fc03f69957cdb02e2530faa (patch)
treedca7e23fdae897778dc5a2c21dbcfc338f63d7d3 /drivers/staging/otus/wrap_pkt.c
parent707eefb8ee714ecaae436980cf19a7e7eb171cf1 (diff)
downloadlinux-fsl-qoriq-f4f85ff7255836122fc03f69957cdb02e2530faa.tar.xz
Staging: otus: remove dependence on kernel version
Dependence on kernel version is not needed anymore if we are in mainline now. Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Cc: <lrodriguez@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 7a8e2e5..5db0004 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 */