Commit 814f1b24 authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz Committed by Marcel Holtmann

Bluetooth: 6lowpan: Set tx_queue_len to DEFAULT_TX_QUEUE_LEN

Make netdev queue packets if we run out of credits.
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Acked-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 8a505b7f
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <net/ipv6.h> #include <net/ipv6.h>
#include <net/ip6_route.h> #include <net/ip6_route.h>
#include <net/addrconf.h> #include <net/addrconf.h>
#include <net/pkt_sched.h>
#include <net/bluetooth/bluetooth.h> #include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h> #include <net/bluetooth/hci_core.h>
...@@ -594,6 +595,7 @@ static void netdev_setup(struct net_device *dev) ...@@ -594,6 +595,7 @@ static void netdev_setup(struct net_device *dev)
dev->flags = IFF_RUNNING | IFF_POINTOPOINT | dev->flags = IFF_RUNNING | IFF_POINTOPOINT |
IFF_MULTICAST; IFF_MULTICAST;
dev->watchdog_timeo = 0; dev->watchdog_timeo = 0;
dev->tx_queue_len = DEFAULT_TX_QUEUE_LEN;
dev->netdev_ops = &netdev_ops; dev->netdev_ops = &netdev_ops;
dev->header_ops = &header_ops; dev->header_ops = &header_ops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment