]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: operation: clean up early connection-state check
authorJohan Hovold <johan@hovoldconsulting.com>
Fri, 27 May 2016 15:26:33 +0000 (17:26 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 27 May 2016 19:21:16 +0000 (12:21 -0700)
commit8890f95710d835ba9f843c7dd849858da1d847d8
treed0dfde9bd680809d6d71d51046951890e8046a0d
parent1430cc920ab374a94f3a31574a2d616dd7f4c4d1
greybus: operation: clean up early connection-state check

Now that the legacy invalid state is gone, clean up the early
connection-state check in the receive path and explicitly drop incoming
messages for disabled connection.

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