[AX.25]: Rename ax25_encapsulate to ax25_hard_header
Rename ax25_encapsulate to ax25_hard_header which these days more accurately describes what the function is supposed to do. Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
c4bc7ee2e4
commit
6f74998e5c
@@ -293,7 +293,7 @@ static int sp_header(struct sk_buff *skb, struct net_device *dev,
|
||||
{
|
||||
#ifdef CONFIG_INET
|
||||
if (type != htons(ETH_P_AX25))
|
||||
return ax25_encapsulate(skb, dev, type, daddr, saddr, len);
|
||||
return ax25_hard_header(skb, dev, type, daddr, saddr, len);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user