hw/sd.c: Set ILLEGAL_COMMAND for ACMDs in invalid state
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 18 Dec 2011 20:37:57 +0000 (21:37 +0100)
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>
Wed, 21 Dec 2011 04:01:39 +0000 (05:01 +0100)
commit5b08bfe2e94c7b1ce39aa3b196231c7f30a5defd
tree32c66bfcdc226b57e176800dc2ee73e49d56c93b
parentb1f517ed4311da719d7584d1be36a4f21127b0f1
hw/sd.c: Set ILLEGAL_COMMAND for ACMDs in invalid state

App commands in an invalid state should set ILLEGAL_COMMAND, not
merely return a zero response.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
hw/sd.c