aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-05-21 03:53:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-05-21 03:53:26 +0000
commit10b572b451aee76a3ba15dfad0342a7080c47fb2 (patch)
tree67b0dbfde7107d6dd3ab9655618d94916c0fd19d /package/madwifi
parent17ea20ab8cc34f990478497e01dcedcf738c7341 (diff)
downloadupstream-10b572b451aee76a3ba15dfad0342a7080c47fb2.tar.gz
upstream-10b572b451aee76a3ba15dfad0342a7080c47fb2.tar.bz2
upstream-10b572b451aee76a3ba15dfad0342a7080c47fb2.zip
oops... wrong patch (unfixed typo)
SVN-Revision: 7299
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/patches/118-txstop_workaround.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/patches/118-txstop_workaround.patch b/package/madwifi/patches/118-txstop_workaround.patch
index 6ff2a5b255..8cab1a4399 100644
--- a/package/madwifi/patches/118-txstop_workaround.patch
+++ b/package/madwifi/patches/118-txstop_workaround.patch
@@ -6,7 +6,7 @@ diff -ur madwifi.old/ath/if_ath.c madwifi.dev/ath/if_ath.c
ath_hal_txstart(ah, txq->axq_qnum);
sc->sc_dev->trans_start = jiffies;
+ if ((sc->sc_opmode == HAL_M_IBSS) || (sc->sc_opmode == HAL_M_HOSTAP)) {
-+ if (sc->sc_tx_start && (ath_hal_numtxpending(ah, txq->axq_num) > 2)) {
++ 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);