Fix return values of all modules and states

Change-Id: I64234eff97d23931b7e6237fcc64b1f18dac1623
2 files changed