mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 22:43:53 +01:00
add atheros ar2313 vlan fix (thx, SeG)
SVN-Revision: 10238
This commit is contained in:
parent
3829f7b3f1
commit
dc584fc1af
@ -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