mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
When new hidp session is created, list header in l2cap_user is not initialized and this causes list_empty() to fail in l2cap_register_user() even if l2cap_user list is empty. Signed-off-by: Tedd Ho-Jeong An <[email protected]> Tested-by: Jörg Otte <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>