mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 00:58:37 +02:00
add atheros ar2313 vlan fix (thx, SeG)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10238 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
03e8a3a945
commit
0d15d1fe3a
@ -134,7 +134,13 @@
|
||||
#define CRC_LEN 4
|
||||
#define RX_OFFSET 2
|
||||
|
||||
#define AR2313_BUFSIZE (AR2313_MTU + ETH_HLEN + CRC_LEN + RX_OFFSET)
|
||||
#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
|
||||
#define VLAN_HDR 4
|
||||
#else
|
||||
#define VLAN_HDR 0
|
||||
#endif
|
||||
|
||||
#define AR2313_BUFSIZE (AR2313_MTU + VLAN_HDR + ETH_HLEN + CRC_LEN + RX_OFFSET)
|
||||
|
||||
#ifdef MODULE
|
||||
MODULE_LICENSE("GPL");
|
||||
|
Loading…
Reference in New Issue
Block a user