V4L/DVB (12109): radio-tea5764: fix incorrect rxsubchans value
[pandora-kernel.git] / drivers / net / qla3xxx.c
index 8a823ec..bbc6d4d 100644 (file)
@@ -3837,7 +3837,9 @@ static void ql_reset_work(struct work_struct *work)
                                                      16) | ISP_CONTROL_RI));
                        }
 
+                       spin_unlock_irqrestore(&qdev->hw_lock, hw_flags);
                        ssleep(1);
+                       spin_lock_irqsave(&qdev->hw_lock, hw_flags);
                } while (--max_wait_time);
                spin_unlock_irqrestore(&qdev->hw_lock, hw_flags);