diff options
author | Sjur Brændeland <sjur.brandeland@stericsson.com> | 2012-03-04 09:38:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-06 22:27:45 +0100 |
commit | 34efc283a56adaef5756ac93065f46608674ea7d (patch) | |
tree | 7453649cfcc93d384f1761b9f563733aa9043cb9 /drivers/net/caif | |
parent | cxgb4vf: Add support for Chelsio's T480-CR and T440-LP-CR adapters (diff) | |
download | linux-34efc283a56adaef5756ac93065f46608674ea7d.tar.xz linux-34efc283a56adaef5756ac93065f46608674ea7d.zip |
caif-hsi: Set default MTU to 4096
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>
Diffstat (limited to 'drivers/net/caif')
-rw-r--r-- | drivers/net/caif/caif_hsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/caif/caif_hsi.c b/drivers/net/caif/caif_hsi.c index 0a4fc62a381d..c998e1afebc6 100644 --- 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); |