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 /hw | |
parent | fcfa9351c57985ebb54fe6aacd06a270880a561f (diff) |
sd: Remember to reset .expecting_acmd on reset.
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'hw')
-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) |