greybus: connection: fix offloaded-connection ping cport id
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 3 Aug 2016 12:09:30 +0000 (14:09 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 3 Aug 2016 13:42:38 +0000 (15:42 +0200)
commit06d8b7d9cf37c323aae23bfe97eabdebf0e94ce7
tree97a2c9462974c86dc112f83ecba27b248ec9d66e
parent081ee14ab4452bbf7bab9b4df61519bb48a44375
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>
drivers/staging/greybus/connection.c