From: Patrik Flykt Date: Tue, 11 Apr 2017 19:21:03 +0000 (+0300) Subject: bluetooth: Do not set IFF_POINTOPOINT X-Git-Tag: v5.15~11411^2~175^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=258695222bdb89071aebe60554f5246927817a89;p=platform%2Fkernel%2Flinux-starfive.git bluetooth: Do not set IFF_POINTOPOINT The IPv6 stack needs to send and receive Neighbor Discovery messages. Remove the IFF_POINTOPOINT flag. Signed-off-by: Patrik Flykt Acked-by: Jukka Rissanen Reviewed-by: Luiz Augusto von Dentz Signed-off-by: Marcel Holtmann --- diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c index a4deba6..6089599 100644 --- a/net/bluetooth/6lowpan.c +++ b/net/bluetooth/6lowpan.c @@ -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;