[AX.25]: Fix default address and broadcast address initialization.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 7 Dec 2006 23:47:08 +0000 (15:47 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 9 Dec 2006 01:19:26 +0000 (17:19 -0800)
commit15b1c0e822f578306332d4f4c449250db5c5dceb
treec577cadd3edb7a9915501f1bcb4be086961bb316
parente8cc49bb0fdb9e18a99e6780073d1400ba2b0d1f
[AX.25]: Fix default address and broadcast address initialization.

Only the callsign but not the SSID part of an AX.25 address is ASCII
based but Linux by initializes the SSID which should be just a 4-bit
number from ASCII anyway.

Fix that and convert the code to use a shared constant for both default
addresses.  While at it, use the same style for null_ax25_address also.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hamradio/6pack.c
drivers/net/hamradio/baycom_epp.c
drivers/net/hamradio/bpqether.c
drivers/net/hamradio/dmascc.c
drivers/net/hamradio/hdlcdrv.c
drivers/net/hamradio/mkiss.c
drivers/net/hamradio/scc.c
drivers/net/hamradio/yam.c
include/net/ax25.h
net/ax25/ax25_addr.c