summaryrefslogtreecommitdiff
path: root/package/madwifi
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-09 18:28:22 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-09 18:28:22 +0000
commitb178a6e4b34d4776aac19d660c3207225fdabda3 (patch)
tree22f58b53ad87bc149e903052c111204468afe52b /package/madwifi
parent79241e359d0c3e9a1a4c5decc222ea167cfc3089 (diff)
madwifi: move autochannel idletime decision after radar and phy mode checking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13564 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-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);