Commit 06d8b7d9 authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman

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: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 081ee14a
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment