greybus: interface: add active state flag

Add active state flag to avoid deactivating an interface which is
already off.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Johan Hovold 2016-04-23 18:47:26 +02:00 • committed by Greg Kroah-Hartman
commit 1e1565e5fe
2 changed files with 8 additions and 0 deletions