Message ID | d065e4492a9e995d6ebe95c7ad8a1ec6183f56ef.1646277169.git.deren.wu@mediatek.com |
---|---|
State | New |
Headers | show |
Series | mt76: fix monitor mode crash with sdio driver | expand |
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index 5e10fe156926..4f4ce3b3df54 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -19,7 +19,8 @@ #define MT_MCU_RING_SIZE 32 #define MT_RX_BUF_SIZE 2048 -#define MT_SKB_HEAD_LEN 128 +/* 136 = 128+8. 128: RXD, 8:max header padding*/ +#define MT_SKB_HEAD_LEN 136 #define MT_MAX_NON_AQL_PKT 16 #define MT_TXQ_FREE_THR 32