diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-04-11 22:21:02 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2017-04-12 22:02:41 +0200 |
commit | 814f1b243d2c63928f6aa72d66bec0e5fae2f4a9 (patch) | |
tree | a27514b0cf66d6d34ecdfa6f37ea99ece9b0a1b6 /net/bluetooth | |
parent | 8a505b7f39f7fb2d3a2b25bfaa2f18d2ce010eef (diff) | |
download | linux-stable-814f1b243d2c63928f6aa72d66bec0e5fae2f4a9.tar.gz linux-stable-814f1b243d2c63928f6aa72d66bec0e5fae2f4a9.tar.bz2 linux-stable-814f1b243d2c63928f6aa72d66bec0e5fae2f4a9.zip |
Bluetooth: 6lowpan: Set tx_queue_len to DEFAULT_TX_QUEUE_LEN
Make netdev queue packets if we run out of credits.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/6lowpan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c index dc7fda307b15..a4deba6548fe 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; |