diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2017-04-11 21:21:03 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2017-04-12 22:02:41 +0200 |
commit | 258695222bdb89071aebe60554f5246927817a89 (patch) | |
tree | 6872bd4da1a21c8d003fe424719630cbb56f688d | |
parent | Bluetooth: 6lowpan: Set tx_queue_len to DEFAULT_TX_QUEUE_LEN (diff) | |
download | linux-258695222bdb89071aebe60554f5246927817a89.tar.xz linux-258695222bdb89071aebe60554f5246927817a89.zip |
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 <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>
-rw-r--r-- | net/bluetooth/6lowpan.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c index a4deba6548fe..608959989f8e 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; |