net: 6lowpan: convert to using IFF_NO_QUEUE
authorPhil Sutter <phil@nwl.cc>
Tue, 18 Aug 2015 08:30:38 +0000 (10:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2015 18:55:06 +0000 (11:55 -0700)
Signed-off-by: Phil Sutter <phil@nwl.cc>
Cc: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan/core.c

index 27c25ad..953b1c4 100644 (file)
@@ -90,7 +90,7 @@ static void lowpan_setup(struct net_device *dev)
        dev->hard_header_len    = 2 + 1 + 20 + 14;
        dev->needed_tailroom    = 2; /* FCS */
        dev->mtu                = IPV6_MIN_MTU;
-       dev->tx_queue_len       = 0;
+       dev->priv_flags         |= IFF_NO_QUEUE;
        dev->flags              = IFF_BROADCAST | IFF_MULTICAST;
        dev->watchdog_timeo     = 0;