aboutsummaryrefslogtreecommitdiffstats
path: root/net/ax25/ax25_out.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ax25/ax25_out.c')
-rw-r--r--net/ax25/ax25_out.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ax25/ax25_out.c b/net/ax25/ax25_out.c
index 94557b1a1fa2..5fc048dcd39a 100644
--- a/net/ax25/ax25_out.c
+++ b/net/ax25/ax25_out.c
@@ -351,8 +351,7 @@ void ax25_queue_xmit(struct sk_buff *skb, struct net_device *dev)
351{ 351{
352 unsigned char *ptr; 352 unsigned char *ptr;
353 353
354 skb->protocol = htons(ETH_P_AX25); 354 skb->protocol = ax25_type_trans(skb, ax25_fwd_dev(dev));
355 skb->dev = ax25_fwd_dev(dev);
356 355
357 ptr = skb_push(skb, 1); 356 ptr = skb_push(skb, 1);
358 *ptr = 0x00; /* KISS */ 357 *ptr = 0x00; /* KISS */