fix hal module load msg
[openwrt/svn-archive/archive.git] / package / madwifi / patches-r3776 / 313-reset_channelchange.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -8866,14 +8866,7 @@
4 hchan.channel,
5 jiffies);
6
7 - /* ath_hal_reset with chanchange = AH_TRUE doesn't seem to
8 - * completely reset the state of the card. According to
9 - * reports from ticket #1106, kismet and aircrack people they
10 - * needed to do the reset with chanchange = AH_FALSE in order
11 - * to receive traffic when peforming high velocity channel
12 - * changes. */
13 - if (!ath_hw_reset(sc, sc->sc_opmode, &hchan, AH_TRUE, &status) ||
14 - !ath_hw_reset(sc, sc->sc_opmode, &hchan, AH_FALSE, &status)) {
15 + if (!ath_hw_reset(sc, sc->sc_opmode, &hchan, AH_TRUE, &status)) {
16 EPRINTF(sc, "Unable to reset channel %u (%u MHz) "
17 "flags 0x%x '%s' (HAL status %u)\n",
18 ieee80211_chan2ieee(ic, chan), chan->ic_freq,