net-2.6.24: old ax25 driver fix
Subsystems (2)
PATCH 1/1 net-2.6.24: old ax25 driver fix
Recent change in hard header broke build of these old drivers.
Signed-off-by Stephen Hemminger <[email protected]>
--- drivers/net/hamradio/dmascc.c | 2 +- drivers/net/hamradio/scc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/hamradio/dmascc.c +1 -1
@@ -581,7 +581,7 @@ static int __init setup_adapter(int card_base, int type, int n) dev->do_ioctl = scc_ioctl; dev->hard_start_xmit = scc_send_packet; dev->get_stats = scc_get_stats; - dev->header_ops = &ax25_hard_header_ops + dev->header_ops = &ax25_header_ops; dev->set_mac_address = scc_set_mac_address; }if (register_netdev (info->dev[0 ])) {
drivers/net/hamradio/scc.c +1 -1
@@ -1551,7 +1551,7 @@ static void scc_net_setup(struct net_device *dev) dev->stop = scc_net_close; dev->hard_start_xmit = scc_net_tx; - dev->header_ops = &ax25_hard_header_ops; + dev->header_ops = &ax25_header_ops; dev->set_mac_address = scc_net_set_mac_address; dev->get_stats = scc_net_get_stats;
Signature · 1 line
1.5.2.5
From: Stephen Hemminger <[email protected]>
Date: Mon, 1 Oct 2007 11:24:17 -0700
Quoted 3 lines
Recent change in hard header broke build of these old drivers.
Signed-off-by Stephen Hemminger <[email protected]>
Applied, thanks Stephen.