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
commitb4574b5b03437da68522be96dcc28634d9f0f42a (patch)
treee49c543b8a2e0422647637b0bfb79e0a858606f8 /package/madwifi/patches/389-autochannel.patch
parentb9c49af8a551c71b98228d0343a11e4402f174e0 (diff)
downloadupstream-b4574b5b03437da68522be96dcc28634d9f0f42a.tar.gz
upstream-b4574b5b03437da68522be96dcc28634d9f0f42a.tar.bz2
upstream-b4574b5b03437da68522be96dcc28634d9f0f42a.zip
madwifi: improve mode selection, do not scan channels which do not fit the desired mode
SVN-Revision: 15663
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);