Bluetooth: 6lowpan: Enable multicast support
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Mon, 29 Sep 2014 13:37:26 +0000 (16:37 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 29 Sep 2014 15:06:38 +0000 (17:06 +0200)
Set multicast support for 6lowpan network interface.
This is needed in every network interface that supports IPv6.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/6lowpan.c

index 2ec7c84..f0432ae 100644 (file)
@@ -648,7 +648,8 @@ static void netdev_setup(struct net_device *dev)
        dev->needed_tailroom    = 0;
        dev->mtu                = IPV6_MIN_MTU;
        dev->tx_queue_len       = 0;
-       dev->flags              = IFF_RUNNING | IFF_POINTOPOINT;
+       dev->flags              = IFF_RUNNING | IFF_POINTOPOINT |
+                                 IFF_MULTICAST;
        dev->watchdog_timeo     = 0;
 
        dev->netdev_ops         = &netdev_ops;