Skip to content

Commit

Permalink
6lowpan: Don't set IFF_NO_QUEUE
Browse files Browse the repository at this point in the history
There is no point in setting IFF_NO_QUEUE should already have taken
care of setting it if tx_queue_len is not set, in fact this may
actually disable queue for interfaces that require it and do set
tx_queue_len.

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>
  • Loading branch information
Luiz Augusto von Dentz authored and Marcel Holtmann committed Apr 12, 2017
1 parent 0373214 commit 24dcbf6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/6lowpan/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ int lowpan_register_netdevice(struct net_device *dev,

dev->type = ARPHRD_6LOWPAN;
dev->mtu = IPV6_MIN_MTU;
dev->priv_flags |= IFF_NO_QUEUE;

lowpan_dev(dev)->lltype = lltype;

Expand Down

0 comments on commit 24dcbf6

Please sign in to comment.