greybus: ap: start validating the message better
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 22 Sep 2014 01:19:54 +0000 (18:19 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 22 Sep 2014 01:19:54 +0000 (18:19 -0700)
commit00c52e4d3e37f3cd56c2159c7827f6d08e198262
tree0ea10daad78adf22c9358369e6c48a31368a0e37
parent6779997d78bf4c98857c397ed3d1dfede8949835
greybus: ap: start validating the message better

We check the type of the message now.

Start to check the size of the payload to match the size of the message
type.  Still more work to do needed here.

Also "hooked up" the hotplug message, but doesn't call anything as the
core doesn't implement that yet...
drivers/staging/greybus/ap.c