aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/389-autochannel.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-12-09 18:28:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-12-09 18:28:22 +0000
commit54f277793e0c5753cffae7a4fd0d66d86fec7a47 (patch)
tree0d2954d58810ce8d48f619af7536c6844808c051 /package/madwifi/patches/389-autochannel.patch
parentaeb3752379f72d796692a1c3ae803d72a2e23eff (diff)
downloadupstream-54f277793e0c5753cffae7a4fd0d66d86fec7a47.tar.gz
upstream-54f277793e0c5753cffae7a4fd0d66d86fec7a47.tar.bz2
upstream-54f277793e0c5753cffae7a4fd0d66d86fec7a47.zip
madwifi: move autochannel idletime decision after radar and phy mode checking
SVN-Revision: 13564
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 7926d2e58d..0e4cad873d 100644
--- a/package/madwifi/patches/389-autochannel.patch
+++ b/package/madwifi/patches/389-autochannel.patch
@@ -115,11 +115,11 @@
pc_cmp_samechan(struct ieee80211com *ic, struct ieee80211_channel *a,
struct ieee80211_channel *b)
{
-@@ -455,6 +468,7 @@ pc_cmp(const void *_a, const void *_b)
- return res; \
- } while (0)
+@@ -457,6 +470,7 @@ pc_cmp(const void *_a, const void *_b)
-+ EVALUATE_CRITERION(idletime, a, b);
EVALUATE_CRITERION(radar, a, b);
EVALUATE_CRITERION(keepmode, params, a, b);
++ EVALUATE_CRITERION(idletime, a, b);
EVALUATE_CRITERION(sc, ic, a, b);
+ /* XXX: rssi useless? pick_channel evaluates it anyway */
+ EVALUATE_CRITERION(rssi, params->ss->ss_priv, a, b);