bluetooth: Do not set IFF_POINTOPOINT
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 11 Apr 2017 19:21:03 +0000 (22:21 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Apr 2017 20:02:41 +0000 (22:02 +0200)
The IPv6 stack needs to send and receive Neighbor Discovery
messages. Remove the IFF_POINTOPOINT flag.

Signed-off-by: Patrik Flykt <patrik.flykt@linux.intel.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Reviewed-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/6lowpan.c

index a4deba6..6089599 100644 (file)
@@ -592,8 +592,7 @@ static void netdev_setup(struct net_device *dev)
 {
        dev->hard_header_len    = 0;
        dev->needed_tailroom    = 0;
-       dev->flags              = IFF_RUNNING | IFF_POINTOPOINT |
-                                 IFF_MULTICAST;
+       dev->flags              = IFF_RUNNING | IFF_MULTICAST;
        dev->watchdog_timeo     = 0;
        dev->tx_queue_len       = DEFAULT_TX_QUEUE_LEN;