Message ID | 20170411192103.3209-5-luiz.dentz@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Hi Luiz, On Tue, 2017-04-11 at 22:21 +0300, Luiz Augusto von Dentz wrote: > From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> > > Make netdev queue packets if we run out of credits. > > Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> > --- > net/bluetooth/6lowpan.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c > index dc7fda3..a4deba6 100644 > --- a/net/bluetooth/6lowpan.c > +++ b/net/bluetooth/6lowpan.c > @@ -20,6 +20,7 @@ > #include <net/ipv6.h> > #include <net/ip6_route.h> > #include <net/addrconf.h> > +#include <net/pkt_sched.h> > > #include <net/bluetooth/bluetooth.h> > #include <net/bluetooth/hci_core.h> > @@ -594,6 +595,7 @@ static void netdev_setup(struct net_device *dev) > dev->flags = IFF_RUNNING | IFF_POINTOPOINT | > IFF_MULTICAST; > dev->watchdog_timeo = 0; > + dev->tx_queue_len = DEFAULT_TX_QUEUE_LEN; > > dev->netdev_ops = &netdev_ops; > dev->header_ops = &header_ops; Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Cheers, Jukka -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c index dc7fda3..a4deba6 100644 --- a/net/bluetooth/6lowpan.c +++ b/net/bluetooth/6lowpan.c @@ -20,6 +20,7 @@ #include <net/ipv6.h> #include <net/ip6_route.h> #include <net/addrconf.h> +#include <net/pkt_sched.h> #include <net/bluetooth/bluetooth.h> #include <net/bluetooth/hci_core.h> @@ -594,6 +595,7 @@ static void netdev_setup(struct net_device *dev) dev->flags = IFF_RUNNING | IFF_POINTOPOINT | IFF_MULTICAST; dev->watchdog_timeo = 0; + dev->tx_queue_len = DEFAULT_TX_QUEUE_LEN; dev->netdev_ops = &netdev_ops; dev->header_ops = &header_ops;