6lowpan.c (112d6212c80a1c560757520bd822a41c0ad15c2c) | 6lowpan.c (ab92d68fc22f9afab480153bd82a20f6e2533769) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 Copyright (c) 2013-2014 Intel Corp. 4 5*/ 6 7#include <linux/if_arp.h> 8#include <linux/netdevice.h> --- 557 unchanged lines hidden (view full) --- 566 dev_kfree_skb(skb); 567 568 if (err) 569 BT_DBG("ERROR: xmit failed (%d)", err); 570 571 return err < 0 ? NET_XMIT_DROP : err; 572} 573 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 Copyright (c) 2013-2014 Intel Corp. 4 5*/ 6 7#include <linux/if_arp.h> 8#include <linux/netdevice.h> --- 557 unchanged lines hidden (view full) --- 566 dev_kfree_skb(skb); 567 568 if (err) 569 BT_DBG("ERROR: xmit failed (%d)", err); 570 571 return err < 0 ? NET_XMIT_DROP : err; 572} 573 |
574static int bt_dev_init(struct net_device *dev) 575{ 576 netdev_lockdep_set_classes(dev); 577 578 return 0; 579} 580 | |
581static const struct net_device_ops netdev_ops = { | 574static const struct net_device_ops netdev_ops = { |
582 .ndo_init = bt_dev_init, | |
583 .ndo_start_xmit = bt_xmit, 584}; 585 586static const struct header_ops header_ops = { 587 .create = header_create, 588}; 589 590static void netdev_setup(struct net_device *dev) --- 725 unchanged lines hidden --- | 575 .ndo_start_xmit = bt_xmit, 576}; 577 578static const struct header_ops header_ops = { 579 .create = header_create, 580}; 581 582static void netdev_setup(struct net_device *dev) --- 725 unchanged lines hidden --- |