summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/389-autochannel.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-01-26 02:57:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-01-26 02:57:44 +0000
commit10e3ea9f129ce908abf7e1e73e318aef7d2f5e16 (patch)
tree840783aaef7ea3ed398f31e98b86b5b90d5c1331 /package/madwifi/patches/389-autochannel.patch
parentf561b910e8d47b4b488fd37a389c2973649a23fd (diff)
downloadmtk-20170518-10e3ea9f129ce908abf7e1e73e318aef7d2f5e16.zip
mtk-20170518-10e3ea9f129ce908abf7e1e73e318aef7d2f5e16.tar.gz
mtk-20170518-10e3ea9f129ce908abf7e1e73e318aef7d2f5e16.tar.bz2
madwifi: preserve the interface mode correctly when using wds with sta separation
SVN-Revision: 14195
Diffstat (limited to 'package/madwifi/patches/389-autochannel.patch')
-rw-r--r--package/madwifi/patches/389-autochannel.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/madwifi/patches/389-autochannel.patch b/package/madwifi/patches/389-autochannel.patch
index 0e4cad8..b8ca384 100644
--- a/package/madwifi/patches/389-autochannel.patch
+++ b/package/madwifi/patches/389-autochannel.patch
@@ -8,7 +8,7 @@
/* calibrate every 30 secs in steady state but check every second at first. */
static int ath_calinterval = ATH_SHORT_CALINTERVAL;
-@@ -2579,6 +2580,7 @@ ath_init(struct net_device *dev)
+@@ -2580,6 +2581,7 @@ ath_init(struct net_device *dev)
* be followed by initialization of the appropriate bits
* and then setup of the interrupt mask.
*/
@@ -16,7 +16,7 @@
sc->sc_curchan.channel = ic->ic_curchan->ic_freq;
sc->sc_curchan.channelFlags = ath_chan2flags(ic->ic_curchan);
if (!ath_hal_reset(ah, sc->sc_opmode, &sc->sc_curchan, AH_FALSE, &status)) {
-@@ -2913,6 +2915,40 @@ ath_hw_check_atim(struct ath_softc *sc,
+@@ -2914,6 +2916,40 @@ ath_hw_check_atim(struct ath_softc *sc,
}
@@ -57,7 +57,7 @@
/*
* Reset the hardware w/o losing operational state. This is
* basically a more efficient way of doing ath_stop, ath_init,
-@@ -2939,6 +2975,7 @@ ath_reset(struct net_device *dev)
+@@ -2940,6 +2976,7 @@ ath_reset(struct net_device *dev)
* Convert to a HAL channel description with the flags
* constrained to reflect the current operating mode.
*/
@@ -65,7 +65,7 @@
c = ic->ic_curchan;
sc->sc_curchan.channel = c->ic_freq;
sc->sc_curchan.channelFlags = ath_chan2flags(c);
-@@ -9019,6 +9056,7 @@ ath_chan_set(struct ath_softc *sc, struc
+@@ -9020,6 +9057,7 @@ ath_chan_set(struct ath_softc *sc, struc
u_int8_t channel_change_required = 0;
struct timeval tv;