projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17ea20a
)
oops... wrong patch (unfixed typo)
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 21 May 2007 03:53:26 +0000
(
03:53
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 21 May 2007 03:53:26 +0000
(
03:53
+0000)
SVN-Revision: 7299
package/madwifi/patches/118-txstop_workaround.patch
patch
|
blob
|
history
diff --git
a/package/madwifi/patches/118-txstop_workaround.patch
b/package/madwifi/patches/118-txstop_workaround.patch
index 6ff2a5b2554400358f0007cc943d0fa53de6a5d4..8cab1a4399cbcc907c3ff235a7017b8b5d101489 100644
(file)
--- 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_
q
num) > 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);