Ignore:
Timestamp:
May 31, 2013, 11:15:02 PM (12 years ago)
Author:
David Azarewicz
Message:

Suspend/resume changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/ctxhook.c

    r138 r161  
    217217            if (req_sense(problem_iorb, 0) == 0) {
    218218              /* execute request sense on slot #0 before anything else comes along */
    219               ADD_StartTimerMS(&aws->timer, 5000, (PFN) timeout_callback, 
     219              ADD_StartTimerMS(&aws->timer, 5000, (PFN) timeout_callback,
    220220                               problem_iorb, 0);
    221221              aws->cmd_slot = 0;
     
    430430
    431431  dprintf("engine_ctxhook() started\n");
     432  if (resume_sleep_flag) {
     433    msleep(resume_sleep_flag);
     434    resume_sleep_flag = 0;
     435  }
    432436
    433437  spin_lock(drv_lock);
Note: See TracChangeset for help on using the changeset viewer.