aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/hamradio/bpqether.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/net/hamradio/bpqether.c b/drivers/net/hamradio/bpqether.c
index b662b67125bc..4bf0f19ecfa3 100644
--- a/drivers/net/hamradio/bpqether.c
+++ b/drivers/net/hamradio/bpqether.c
@@ -466,16 +466,17 @@ static const struct file_operations bpq_info_fops = {
466 466
467/* ------------------------------------------------------------------------ */ 467/* ------------------------------------------------------------------------ */
468 468
469static const struct net_device_ops bpq_netdev_ops = {
470 .ndo_open = bpq_open,
471 .ndo_stop = bpq_close,
472 .ndo_start_xmit = bpq_xmit,
473 .ndo_set_mac_address = bpq_set_mac_address,
474 .ndo_do_ioctl = bpq_ioctl,
475};
469 476
470static void bpq_setup(struct net_device *dev) 477static void bpq_setup(struct net_device *dev)
471{ 478{
472 479 dev->netdev_ops = &bpq_netdev_ops;
473 dev->hard_start_xmit = bpq_xmit;
474 dev->open = bpq_open;
475 dev->stop = bpq_close;
476 dev->set_mac_address = bpq_set_mac_address;
477 dev->get_stats = bpq_get_stats;
478 dev->do_ioctl = bpq_ioctl;
479 dev->destructor = free_netdev; 480 dev->destructor = free_netdev;
480 481
481 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN); 482 memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN);