diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-10-03 20:32:29 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-10-03 20:32:29 +0000 |
commit | 070bad80e404b10ef7a3b73ffcfa5cb3ca51081f (patch) | |
tree | e89d059199261fe2fcbe54f85127b1e44a1b3069 /drivers/dahdi/dahdi-base.c | |
parent | 8e423b37b882ed9d6175ea4592c768d87b87ddf6 (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.c | 2 |
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); |