diff options
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/main.c')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wil6210/main.c b/drivers/net/wireless/ath/wil6210/main.c index 18a2eb5b5d66..0af51fc2d981 100644 --- a/drivers/net/wireless/ath/wil6210/main.c +++ b/drivers/net/wireless/ath/wil6210/main.c | |||
@@ -41,7 +41,7 @@ MODULE_PARM_DESC(itr_trsh, " Interrupt moderation threshold, usecs."); | |||
41 | /* We allow allocation of more than 1 page buffers to support large packets. | 41 | /* We allow allocation of more than 1 page buffers to support large packets. |
42 | * It is suboptimal behavior performance wise in case MTU above page size. | 42 | * It is suboptimal behavior performance wise in case MTU above page size. |
43 | */ | 43 | */ |
44 | unsigned int mtu_max = TXRX_BUF_LEN_DEFAULT - ETH_HLEN; | 44 | unsigned int mtu_max = TXRX_BUF_LEN_DEFAULT - WIL_MAX_MPDU_OVERHEAD; |
45 | static int mtu_max_set(const char *val, const struct kernel_param *kp) | 45 | static int mtu_max_set(const char *val, const struct kernel_param *kp) |
46 | { | 46 | { |
47 | int ret; | 47 | int ret; |