-+ if (sc->sc_tx_start) {
-+ if (jiffies > sc->sc_tx_start + 2 * HZ) {
-+ printk("%s: Tx queue stuck. Resetting hardware...\n", sc->sc_dev->name);
-+ ath_reset(sc->sc_dev);
-+ sc->sc_tx_start = 0;
++ if ((sc->sc_opmode == HAL_M_IBSS) || (sc->sc_opmode == HAL_M_HOSTAP)) {
++ if (sc->sc_tx_start && (ath_hal_numtxpending(ah, txq->axq_qnum) > 2)) {
++ if (jiffies > sc->sc_tx_start + 2 * HZ) {
++ printk("%s: Tx queue stuck. Resetting hardware...\n", sc->sc_dev->name);
++ ath_reset(sc->sc_dev);
++ sc->sc_tx_start = 0;
++ }
++ } else {
++ sc->sc_tx_start = jiffies;