diff options
Diffstat (limited to 'drivers/net/wireless/ipw2x00/ipw2200.c')
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2200.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c index bd4dbcfe1bbe..9a123fbcc359 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c | |||
@@ -3176,11 +3176,8 @@ static int ipw_load_firmware(struct ipw_priv *priv, u8 * data, size_t len) | |||
3176 | /* Start the Dma */ | 3176 | /* Start the Dma */ |
3177 | rc = ipw_fw_dma_enable(priv); | 3177 | rc = ipw_fw_dma_enable(priv); |
3178 | 3178 | ||
3179 | if (priv->sram_desc.last_cb_index > 0) { | 3179 | /* the DMA is already ready this would be a bug. */ |
3180 | /* the DMA is already ready this would be a bug. */ | 3180 | BUG_ON(priv->sram_desc.last_cb_index > 0); |
3181 | BUG(); | ||
3182 | goto out; | ||
3183 | } | ||
3184 | 3181 | ||
3185 | do { | 3182 | do { |
3186 | chunk = (struct fw_chunk *)(data + offset); | 3183 | chunk = (struct fw_chunk *)(data + offset); |