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/418-turbo.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/418-turbo.patch')
-rw-r--r-- | package/madwifi/patches/418-turbo.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/package/madwifi/patches/418-turbo.patch b/package/madwifi/patches/418-turbo.patch deleted file mode 100644 index 4e13f90d2..000000000 --- a/package/madwifi/patches/418-turbo.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/net80211/ieee80211_scan.c -+++ b/net80211/ieee80211_scan.c -@@ -1129,7 +1129,11 @@ ieee80211_scan_add_channels(struct ieee8 - continue; - if (c->ic_scanflags & IEEE80211_NOSCAN_SET) - continue; -- if (modeflags && -+ if (ss->ss_vap->iv_opmode == IEEE80211_M_HOSTAP) { -+ if ((c->ic_flags & (IEEE80211_CHAN_TURBO | IEEE80211_CHAN_STURBO)) != -+ (modeflags & (IEEE80211_CHAN_TURBO | IEEE80211_CHAN_STURBO))) -+ continue; -+ } else if (modeflags && - ((c->ic_flags & IEEE80211_CHAN_ALLTURBO) != - (modeflags & IEEE80211_CHAN_ALLTURBO))) - continue; |