Fix HCI event for WRITE_SLEEP_MODE

The returned HCI event for WRITE_SLEEP_MODE did not include the
final status value. The user-space driver thus worked with an
undefined value.

This patch fixes the bug and cleans up the HCI command handling.

Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net>