Bluetooth: Init sk_peer_* on bt_sock_alloc
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 25 May 2023 23:46:42 +0000 (16:46 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 11 Aug 2023 18:37:22 +0000 (11:37 -0700)
commit464c702fb9374ff8f3f816f24fb7ac719dd20e1e
treeb6ec1705f2eb9febf74345421afdbd68be82490f
parent6bfa273e533d7b25eee3d74e28a7fe8e6a8e7a93
Bluetooth: Init sk_peer_* on bt_sock_alloc

This makes sure peer information is always available via sock when using
bt_sock_alloc.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/af_bluetooth.c
net/bluetooth/hidp/sock.c
net/bluetooth/l2cap_sock.c