diff options
author | Arnaldo Carvalho de Melo <acme@ghostprotocols.net> | 2005-04-21 16:46:56 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-04-21 16:46:56 -0700 |
commit | 29c4be51e3fd52205d848248d38924941f22ca0e (patch) | |
tree | 3164d78c43159c242b632ce15882c47e69d28c73 /net/ax25/af_ax25.c | |
parent | 208a6dfbd651f3a16c635678a731b419d3d9646f (diff) | |
download | op-kernel-dev-29c4be51e3fd52205d848248d38924941f22ca0e.zip op-kernel-dev-29c4be51e3fd52205d848248d38924941f22ca0e.tar.gz |
[AX25]: make ax25_queue_xmit a net_device parameter
I.e. not using skb->dev as a way to pass the parameter used to fill...
skb->dev :-)
Also to get the _type_trans open coded sequence grouped, next changesets
will introduce ax25_type_trans.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25/af_ax25.c')
-rw-r--r-- | net/ax25/af_ax25.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c index 33b1a37..707097d 100644 --- a/net/ax25/af_ax25.c +++ b/net/ax25/af_ax25.c @@ -1587,9 +1587,7 @@ static int ax25_sendmsg(struct kiocb *iocb, struct socket *sock, *asmptr = AX25_UI; /* Datagram frames go straight out of the door as UI */ - skb->dev = ax25->ax25_dev->dev; - - ax25_queue_xmit(skb); + ax25_queue_xmit(skb, ax25->ax25_dev->dev); err = len; |