diff options
Diffstat (limited to 'drivers/net/hamradio/bpqether.c')
-rw-r--r-- | drivers/net/hamradio/bpqether.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/net/hamradio/bpqether.c b/drivers/net/hamradio/bpqether.c index 889f338132fa..5b788d84011f 100644 --- a/drivers/net/hamradio/bpqether.c +++ b/drivers/net/hamradio/bpqether.c | |||
@@ -88,11 +88,6 @@ | |||
88 | 88 | ||
89 | static char banner[] __initdata = KERN_INFO "AX.25: bpqether driver version 004\n"; | 89 | static char banner[] __initdata = KERN_INFO "AX.25: bpqether driver version 004\n"; |
90 | 90 | ||
91 | static unsigned char ax25_bcast[AX25_ADDR_LEN] = | ||
92 | {'Q' << 1, 'S' << 1, 'T' << 1, ' ' << 1, ' ' << 1, ' ' << 1, '0' << 1}; | ||
93 | static unsigned char ax25_defaddr[AX25_ADDR_LEN] = | ||
94 | {'L' << 1, 'I' << 1, 'N' << 1, 'U' << 1, 'X' << 1, ' ' << 1, '1' << 1}; | ||
95 | |||
96 | static char bcast_addr[6]={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}; | 91 | static char bcast_addr[6]={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}; |
97 | 92 | ||
98 | static char bpq_eth_addr[6]; | 93 | static char bpq_eth_addr[6]; |
@@ -487,8 +482,8 @@ static void bpq_setup(struct net_device *dev) | |||
487 | dev->do_ioctl = bpq_ioctl; | 482 | dev->do_ioctl = bpq_ioctl; |
488 | dev->destructor = free_netdev; | 483 | dev->destructor = free_netdev; |
489 | 484 | ||
490 | memcpy(dev->broadcast, ax25_bcast, AX25_ADDR_LEN); | 485 | memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); |
491 | memcpy(dev->dev_addr, ax25_defaddr, AX25_ADDR_LEN); | 486 | memcpy(dev->dev_addr, &ax25_defaddr, AX25_ADDR_LEN); |
492 | 487 | ||
493 | dev->flags = 0; | 488 | dev->flags = 0; |
494 | 489 | ||