git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 2.0 rc7
[linux-2.6.git]
/
net
/
ax25
/
ax25_ds_subr.c
diff --git
a/net/ax25/ax25_ds_subr.c
b/net/ax25/ax25_ds_subr.c
index
10ffd2b
..
1d4ab64
100644
(file)
--- a/
net/ax25/ax25_ds_subr.c
+++ b/
net/ax25/ax25_ds_subr.c
@@
-143,8
+143,7
@@
static void ax25_kiss_cmd(ax25_dev *ax25_dev, unsigned char cmd, unsigned char p
*p++ = cmd;
*p++ = param;
- skb->dev = ax25_dev->dev;
- skb->protocol = htons(ETH_P_AX25);
+ skb->protocol = ax25_type_trans(skb, ax25_dev->dev);
dev_queue_xmit(skb);
}