Skip to content

Commit 5cc1f66

Browse files
Eric Biggersgregkh
authored andcommitted
thunderbolt: Fix copy+paste error in match_service_id()
The second instance of TBSVC_MATCH_PROTOCOL_VERSION seems to have been intended to be TBSVC_MATCH_PROTOCOL_REVISION. Fixes: d1ff702 ("thunderbolt: Add support for XDomain discovery protocol") Cc: stable <[email protected]> Signed-off-by: Eric Biggers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7616f00 commit 5cc1f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/thunderbolt/domain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static bool match_service_id(const struct tb_service_id *id,
3636
return false;
3737
}
3838

39-
if (id->match_flags & TBSVC_MATCH_PROTOCOL_VERSION) {
39+
if (id->match_flags & TBSVC_MATCH_PROTOCOL_REVISION) {
4040
if (id->protocol_revision != svc->prtcrevs)
4141
return false;
4242
}

0 commit comments

Comments
 (0)