greybus: connection: fix cport-id range
authorJohan Hovold <johan@hovoldconsulting.com>
Sat, 21 Nov 2015 09:51:58 +0000 (10:51 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 24 Nov 2015 03:23:27 +0000 (19:23 -0800)
commit39f36c8f9ff6203301a1d7feb7f51d2563abbd3a
tree60960584452ae659d12ac830a9126d71ed6c33fd
parentd3d2af51f9c2f29a0bf5df278503820004d71e36
greybus: connection: fix cport-id range

Fix cport-id allocation that failed to include the highest port id in the
available cport-id range.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c