diff options
author | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2011-12-21 05:04:21 +0100 |
---|---|---|
committer | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2011-12-21 05:04:21 +0100 |
commit | 3799ce4ab64f578eb818689a276e4f0c73d01fb5 (patch) | |
tree | 77b1275a7e90eaf79090a53f6f3c2aac8de160ed | |
parent | fcfa9351c57985ebb54fe6aacd06a270880a561f (diff) | |
download | qemu-3799ce4ab64f578eb818689a276e4f0c73d01fb5.tar.gz qemu-3799ce4ab64f578eb818689a276e4f0c73d01fb5.tar.bz2 qemu-3799ce4ab64f578eb818689a276e4f0c73d01fb5.zip |
sd: Remember to reset .expecting_acmd on reset.
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
-rw-r--r-- | hw/sd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -422,6 +422,7 @@ static void sd_reset(SDState *sd, BlockDriverState *bdrv) sd->size = size; sd->blk_len = 0x200; sd->pwd_len = 0; + sd->expecting_acmd = 0; } static void sd_cardchange(void *opaque, bool load) |