summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi-base.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-03 20:32:29 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-03 20:32:29 +0000
commit070bad80e404b10ef7a3b73ffcfa5cb3ca51081f (patch)
treee89d059199261fe2fcbe54f85127b1e44a1b3069 /drivers/dahdi/dahdi-base.c
parent8e423b37b882ed9d6175ea4592c768d87b87ddf6 (diff)
Fix building with CONFIG_DAHDI_NET in kernel 2.6.22
The leftovers of issues #13542 (which was mostly resolved in previous committ. This closes it. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5051 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi-base.c')
-rw-r--r--drivers/dahdi/dahdi-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index 017a72f..8066636 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -7065,7 +7065,7 @@ out in the later versions, and is put back now. */
if (skb && (ms->flags & DAHDI_FLAG_NETDEV))
#ifdef NEW_HDLC_INTERFACE
{
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,22)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
skb->mac.raw = skb->data;
#else
skb_reset_mac_header(skb);