|
@@ -496,8 +496,10 @@ static int rt2800pci_enable_radio(struct rt2x00_dev *rt2x00dev)
|
|
{
|
|
{
|
|
int retval;
|
|
int retval;
|
|
|
|
|
|
- if (unlikely(rt2800_wait_wpdma_ready(rt2x00dev) ||
|
|
|
|
- rt2800pci_init_queues(rt2x00dev)))
|
|
|
|
|
|
+ /* Wait for DMA, ignore error until we initialize queues. */
|
|
|
|
+ rt2800_wait_wpdma_ready(rt2x00dev);
|
|
|
|
+
|
|
|
|
+ if (unlikely(rt2800pci_init_queues(rt2x00dev)))
|
|
return -EIO;
|
|
return -EIO;
|
|
|
|
|
|
retval = rt2800_enable_radio(rt2x00dev);
|
|
retval = rt2800_enable_radio(rt2x00dev);
|