From faf666aa77d105098386a189e8bf078befa7192e Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Fri, 31 Jul 2009 19:13:16 +0000 Subject: [PATCH] fix misplaced #endif that caused tdma handling to be merged with ESS handling (causing tdma scanning to break) Approved by: re (kib) --- sys/net80211/ieee80211_scan_sta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211_scan_sta.c b/sys/net80211/ieee80211_scan_sta.c index a76dd3c740c2..e697ad4a1a2b 100644 --- a/sys/net80211/ieee80211_scan_sta.c +++ b/sys/net80211/ieee80211_scan_sta.c @@ -1018,8 +1018,8 @@ match_bss(struct ieee80211vap *vap, else if (ms->ms_idlen != 0 && match_id(se->se_meshid, ms->ms_id, ms->ms_idlen)) fail |= MATCH_MESHID; - } else { #endif + } else { if ((se->se_capinfo & IEEE80211_CAPINFO_ESS) == 0) fail |= MATCH_CAPINFO; /*