net: bt: Fix not setting lladdr type
When adding link-local address to the cache the type needs to be properly set as net_ipv6_addr_create_iid will attempt to use it when generating the IPv6 address. Jira: ZEP-2077 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
6a52a30b7d
commit
08eb5fc428
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ static void ipsp_connected(struct bt_l2cap_chan *chan)
|
|||
|
||||
ll.addr = ctxt->dst.val;
|
||||
ll.len = sizeof(ctxt->dst.val);
|
||||
ll.type = NET_LINK_BLUETOOTH;
|
||||
|
||||
/* Add remote link-local address to the nbr cache to avoid sending ns:
|
||||
* https://tools.ietf.org/html/rfc7668#section-3.2.3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue