]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/staging/otus/wrap_pkt.c
Staging: otus: remove dependence on kernel version
[mirror_ubuntu-bionic-kernel.git] / drivers / staging / otus / wrap_pkt.c
index 7a8e2e5db0e3e903faf904fd86dec317bd6e1c5d..5db0004c873953cd348c33532536f93a5129a181 100644 (file)
@@ -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 */