commit 4b5e57a08f700b3dbf682947b445aa03026e9522 Author: Jiri Slaby Date: Sun Jul 15 09:44:23 2007 +0200 fatal and rxorn diff --git a/ath/if_ath_pci.c b/ath/if_ath_pci.c index 2d9794c..2a672c0 100644 --- a/ath/if_ath_pci.c +++ b/ath/if_ath_pci.c @@ -1179,12 +1179,10 @@ static irqreturn_t ath_intr(int irq, void *dev_id) * by the hal. */ sc->stats.ast_hardware++; - ath5k_hw_set_intr(ah, 0); /* disable intrs until rst */ -// tasklet_schedule(&sc->fataltq); + ath_reset(sc->hw); } else if (status & AR5K_INT_RXORN) { sc->stats.ast_rxorn++; - ath5k_hw_set_intr(ah, 0); /* disable intrs until rst */ -// tasklet_schedule(&sc->rxorntq); + ath_reset(sc->hw); } else { if (status & AR5K_INT_SWBA) { /* diff --git a/ath/if_athvar.h b/ath/if_athvar.h index b884d06..a587302 100644 --- a/ath/if_athvar.h +++ b/ath/if_athvar.h @@ -204,7 +204,6 @@ struct ath_softc { u8 pad[64]; } u_rx_rt; int sc_rx_th_len; - struct tasklet_struct fataltq; /* fatal int tasklet */ struct tasklet_struct sc_radartq; /* Radar detection */ #endif unsigned int rxbufsize; /* rx size based on mtu */ @@ -213,10 +212,8 @@ struct ath_softc { u32 *rxlink; /* link ptr in last RX desc */ struct tasklet_struct rxtq; /* rx intr tasklet */ #ifdef BLE - struct tasklet_struct rxorntq; /* rxorn intr tasklet */ u8 sc_defant; /* current default antenna */ u8 sc_rxotherant; /* rx's on non-default antenna*/ - #endif struct list_head txbuf; /* transmit buffer */ spinlock_t txbuflock;