diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-07 11:32:43 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-07 11:32:43 +0000 |
commit | 3912992ad4d671496361a90666e834951cd47642 (patch) | |
tree | 9705e0861d9ef745faa338a5b1fa95910c08cda9 /package/madwifi/patches/389-autochannel.patch | |
parent | 84490e4d52694ab2c57e2a2a497a1ef35d6bb757 (diff) |
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.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/madwifi/patches/389-autochannel.patch b/package/madwifi/patches/389-autochannel.patch index 1c6228590..65e03e738 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); |