summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/6lowpan.c
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2014-09-29 16:37:26 +0300
committerMarcel Holtmann <marcel@holtmann.org>2014-09-29 17:06:38 +0200
commit156395c9989a76228e0da40e71267a3d4fb07419 (patch)
tree289e3bee009d1eb2930bec168f75c351aa08233b /net/bluetooth/6lowpan.c
parent36b3dd250dde5317fa6bb8c9010e1e7ab7f2265a (diff)
downloadlinux-stable-156395c9989a76228e0da40e71267a3d4fb07419.tar.gz
linux-stable-156395c9989a76228e0da40e71267a3d4fb07419.tar.bz2
linux-stable-156395c9989a76228e0da40e71267a3d4fb07419.zip
Bluetooth: 6lowpan: Enable multicast support
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>
Diffstat (limited to 'net/bluetooth/6lowpan.c')
-rw-r--r--net/bluetooth/6lowpan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c
index 2ec7c84c2000..f0432aea8dad 100644
--- a/net/bluetooth/6lowpan.c
+++ b/net/bluetooth/6lowpan.c
@@ -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;