Skip to contentSkip to conversation

net-2.6.24: old ax25 driver fix

PATCH Applied Stephen Hemminger 2 participants 2 messages Oct 1, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net-2.6.24: old ax25 driver fix

Recent change in hard header broke build of these old drivers.

---
 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
index b529e23..bc02e46 100644
@@ -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
index 56cc523..353d13e 100644
@@ -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