]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: ap: fix svc handshake protocol check
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 19 Mar 2015 15:46:14 +0000 (16:46 +0100)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 19 Mar 2015 16:27:08 +0000 (17:27 +0100)
commit0b7534b86d672752babd18e061b0d869781e3615
treef0b60cdb3094268e1fb124365de8c5ad5dbaf249
parentc020d568f5630d38b72b61a97a4d04f1428b9771
greybus: ap: fix svc handshake protocol check

Fix incorrect SVC handshake protocol check, which would only bail out if
both major and minor protocol versions supported by the SVC differed.

Since we currently only support one version of the protocol, upgrade the
debug message to warning and bail unless the protocol versions match
perfectly for now.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/ap.c