diff mbox

[2.6] fix LL_MAX_HEADER for CONFIG_TR_MODULE

Message ID 20090427093207.GB9259@localhost.pp.htv.fi
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Adrian Bunk April 27, 2009, 9:32 a.m. UTC
Unless I miss anything this should fix a bug.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller April 27, 2009, 9:36 a.m. UTC | #1
From: Adrian Bunk <bunk@kernel.org>
Date: Mon, 27 Apr 2009 12:32:07 +0300

> Unless I miss anything this should fix a bug.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Good catch, applied, thanks Adrian.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 2e7783f..453be9a 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -104,7 +104,7 @@  struct wireless_dev;
 # else
 #  define LL_MAX_HEADER 96
 # endif
-#elif defined(CONFIG_TR)
+#elif defined(CONFIG_TR) || defined(CONFIG_TR_MODULE)
 # define LL_MAX_HEADER 48
 #else
 # define LL_MAX_HEADER 32