2003-07-05 15:45:34

by Krzysztof Halasa

[permalink] [raw]
Subject: [PATCH] 2.5 trivial generic HDLC update

Hi,

Please apply this trivial fix to Linux 2.5. Thanks.
--
Krzysztof Halasa
Network Administrator

--- linux-2.5.orig/drivers/net/wan/hdlc_generic.c 2003-05-27 03:00:23.000000000 +0200
+++ linux-2.5/drivers/net/wan/hdlc_generic.c 2003-07-05 16:01:51.000000000 +0200
@@ -177,11 +177,8 @@

struct packet_type hdlc_packet_type=
{
- __constant_htons(ETH_P_HDLC),
- NULL,
- hdlc_rcv,
- NULL,
- NULL
+ .type = __constant_htons(ETH_P_HDLC),
+ .func = hdlc_rcv,
};