Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ath5k] Remove spurious debugging check
Signed-off-by: Marty Connor <mdc@etherboot.org>
  • Loading branch information
rwcr authored and Marty Connor committed Aug 17, 2009
1 parent a7290a9 commit d7dfc95
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/drivers/net/ath5k/ath5k_desc.c
Expand Up @@ -383,16 +383,6 @@ static int ath5k_hw_setup_rx_desc(struct ath5k_hw *ah __unused,
if (flags & AR5K_RXDESC_INTREQ)
rx_ctl->rx_control_1 |= AR5K_DESC_RX_CTL1_INTREQ;

if (desc->ds_link < ah->ah_sc->desc_daddr ||
desc->ds_link + sizeof(struct ath5k_desc) > ah->ah_sc->desc_daddr + ah->ah_sc->desc_len ||
size != 2400 ||
*(void **)bus_to_virt(desc->ds_data + 2408) != bus_to_virt(desc->ds_data)) {
DBG("ath5k! set rx desc %p for %d bytes at %p (%08x) link to %p (%08x)\n",
desc, size, bus_to_virt(desc->ds_data), desc->ds_data,
bus_to_virt(desc->ds_link), desc->ds_link);
asm("cli;hlt");
}

return 0;
}

Expand Down

0 comments on commit d7dfc95

Please sign in to comment.