提交 6850d0f8 编写于 作者: S Samuel Mendoza-Jonas 提交者: David S. Miller

net/ncsi: Fix AEN HNCDSC packet length

Correct the value of the HNCDSC AEN packet.
Fixes: 7a82ecf4 "net/ncsi: NCSI AEN packet handler"
Signed-off-by: NSamuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 509c7a1e
...@@ -187,7 +187,7 @@ static struct ncsi_aen_handler { ...@@ -187,7 +187,7 @@ static struct ncsi_aen_handler {
} ncsi_aen_handlers[] = { } ncsi_aen_handlers[] = {
{ NCSI_PKT_AEN_LSC, 12, ncsi_aen_handler_lsc }, { NCSI_PKT_AEN_LSC, 12, ncsi_aen_handler_lsc },
{ NCSI_PKT_AEN_CR, 4, ncsi_aen_handler_cr }, { NCSI_PKT_AEN_CR, 4, ncsi_aen_handler_cr },
{ NCSI_PKT_AEN_HNCDSC, 4, ncsi_aen_handler_hncdsc } { NCSI_PKT_AEN_HNCDSC, 8, ncsi_aen_handler_hncdsc }
}; };
int ncsi_aen_handler(struct ncsi_dev_priv *ndp, struct sk_buff *skb) int ncsi_aen_handler(struct ncsi_dev_priv *ndp, struct sk_buff *skb)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册