aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/389-autochannel.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-07 11:32:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-07 11:32:43 +0000
commit122725c5d3b78f7bf4b67a2a99f87d882ea050a8 (patch)
tree9705e0861d9ef745faa338a5b1fa95910c08cda9 /package/madwifi/patches/389-autochannel.patch
parent3c3e5f1fb3ac11331d15be78c039accd00cfded5 (diff)
downloadmaster-187ad058-122725c5d3b78f7bf4b67a2a99f87d882ea050a8.tar.gz
master-187ad058-122725c5d3b78f7bf4b67a2a99f87d882ea050a8.tar.bz2
master-187ad058-122725c5d3b78f7bf4b67a2a99f87d882ea050a8.zip
madwifi: improve mode selection, do not scan channels which do not fit the desired mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15663 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/389-autochannel.patch')
-rw-r--r--package/madwifi/patches/389-autochannel.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/madwifi/patches/389-autochannel.patch b/package/madwifi/patches/389-autochannel.patch
index 1c62285904..65e03e7381 100644
--- a/package/madwifi/patches/389-autochannel.patch
+++ b/package/madwifi/patches/389-autochannel.patch
@@ -95,7 +95,7 @@
#define IEEE80211_CHAN_MAX 255
--- a/net80211/ieee80211_scan_ap.c
+++ b/net80211/ieee80211_scan_ap.c
-@@ -423,6 +423,19 @@ pc_cmp_rssi(struct ap_state *as, struct
+@@ -417,6 +417,19 @@ pc_cmp_rssi(struct ap_state *as, struct
/* This function must be invoked with locks acquired */
static int
@@ -115,7 +115,7 @@
pc_cmp_samechan(struct ieee80211com *ic, struct ieee80211_channel *a,
struct ieee80211_channel *b)
{
-@@ -457,6 +470,7 @@ pc_cmp(const void *_a, const void *_b)
+@@ -451,6 +464,7 @@ pc_cmp(const void *_a, const void *_b)
EVALUATE_CRITERION(radar, a, b);
EVALUATE_CRITERION(keepmode, params, a, b);