mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02:00
thunderbolt: Fix copy+paste error in match_service_id()
commit5cc1f66cb2
upstream. The second instance of TBSVC_MATCH_PROTOCOL_VERSION seems to have been intended to be TBSVC_MATCH_PROTOCOL_REVISION. Fixes:d1ff70241a
("thunderbolt: Add support for XDomain discovery protocol") Cc: stable <stable@kernel.org> Signed-off-by: Eric Biggers <ebiggers@kernel.org> Link: https://lore.kernel.org/r/20250721050136.30004-1-ebiggers@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d85fac8729
commit
6eb63a710d
|
@ -38,7 +38,7 @@ static bool match_service_id(const struct tb_service_id *id,
|
|||
return false;
|
||||
}
|
||||
|
||||
if (id->match_flags & TBSVC_MATCH_PROTOCOL_VERSION) {
|
||||
if (id->match_flags & TBSVC_MATCH_PROTOCOL_REVISION) {
|
||||
if (id->protocol_revision != svc->prtcrevs)
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user