projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79421b4
)
caif-hsi: Set default MTU to 4096
author
Sjur Brændeland
<sjur.brandeland@stericsson.com>
Sun, 4 Mar 2012 08:38:58 +0000
(08:38 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 6 Mar 2012 21:27:45 +0000
(16:27 -0500)
Default MTU for CAIF HSI was wrongly set to 15 * 4092 bytes.
The patch sets default MTU size to 4096.
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/caif_hsi.c
patch
|
blob
|
history
diff --git
a/drivers/net/caif/caif_hsi.c
b/drivers/net/caif/caif_hsi.c
index
0a4fc62
..
c998e1a
100644
(file)
--- a/
drivers/net/caif/caif_hsi.c
+++ b/
drivers/net/caif/caif_hsi.c
@@
-978,7
+978,7
@@
static void cfhsi_setup(struct net_device *dev)
dev->netdev_ops = &cfhsi_ops;
dev->type = ARPHRD_CAIF;
dev->flags = IFF_POINTOPOINT | IFF_NOARP;
- dev->mtu = CFHSI_MAX_
PAYLOAD
_SZ;
+ dev->mtu = CFHSI_MAX_
CAIF_FRAME
_SZ;
dev->tx_queue_len = 0;
dev->destructor = free_netdev;
skb_queue_head_init(&cfhsi->qhead);