mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
greybus: connection: fix offloaded-connection ping cport id
The host-device cport_ping callback expects the AP side cport id, but was incorrectly passed the interface cport id. Note that no host-device driver currently implements this callback, and that it is soon even to be removed. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
081ee14ab4
commit
06d8b7d9cf
1 changed files with 1 additions and 1 deletions
|
|
@ -527,7 +527,7 @@ static int gb_connection_ping(struct gb_connection *connection)
|
|||
if (!hd->driver->cport_ping)
|
||||
return 0;
|
||||
|
||||
ret = hd->driver->cport_ping(hd, connection->intf_cport_id);
|
||||
ret = hd->driver->cport_ping(hd, connection->hd_cport_id);
|
||||
} else {
|
||||
ret = gb_connection_ping_operation(connection);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue