Revision 429bef69 hw/esp.c
b/hw/esp.c | ||
---|---|---|
219 | 219 |
s->ti_rptr = 0; |
220 | 220 |
s->ti_wptr = 0; |
221 | 221 |
|
222 |
if (s->current_dev) {
|
|
222 |
if (s->current_req) {
|
|
223 | 223 |
/* Started a new command before the old one finished. Cancel it. */ |
224 | 224 |
scsi_req_cancel(s->current_req); |
225 | 225 |
s->async_len = 0; |
Also available in: Unified diff