huge madwifi update (work in progress, disabled by default, compiles but breaks at...
[openwrt.git] / package / madwifi / patches-r3776 / 313-reset_channelchange.patch
1 Index: madwifi-trunk-r3776/ath/if_ath.c
2 ===================================================================
3 --- madwifi-trunk-r3776.orig/ath/if_ath.c 2008-07-17 03:04:02.000000000 +0200
4 +++ madwifi-trunk-r3776/ath/if_ath.c 2008-07-17 03:06:03.000000000 +0200
5 @@ -8865,14 +8865,7 @@
6 hchan.channel,
7 jiffies);
8
9 - /* ath_hal_reset with chanchange = AH_TRUE doesn't seem to
10 - * completely reset the state of the card. According to
11 - * reports from ticket #1106, kismet and aircrack people they
12 - * needed to do the reset with chanchange = AH_FALSE in order
13 - * to receive traffic when peforming high velocity channel
14 - * changes. */
15 - if (!ath_hw_reset(sc, sc->sc_opmode, &hchan, AH_TRUE, &status) ||
16 - !ath_hw_reset(sc, sc->sc_opmode, &hchan, AH_FALSE, &status)) {
17 + if (!ath_hw_reset(sc, sc->sc_opmode, &hchan, AH_TRUE, &status)) {
18 EPRINTF(sc, "Unable to reset channel %u (%u MHz) "
19 "flags 0x%x '%s' (HAL status %u)\n",
20 ieee80211_chan2ieee(ic, chan), chan->ic_freq,
This page took 0.044671 seconds and 5 git commands to generate.