From owner-p4-projects@FreeBSD.ORG Tue May 20 23:19:35 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CEBF51065684; Tue, 20 May 2008 23:19:35 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 913451065674 for ; Tue, 20 May 2008 23:19:35 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8856D8FC1C for ; Tue, 20 May 2008 23:19:35 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m4KNJZ3Y089848 for ; Tue, 20 May 2008 23:19:35 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4KNJZ6E089846 for perforce@freebsd.org; Tue, 20 May 2008 23:19:35 GMT (envelope-from sam@freebsd.org) Date: Tue, 20 May 2008 23:19:35 GMT Message-Id: <200805202319.m4KNJZ6E089846@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Cc: Subject: PERFORCE change 141939 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 23:19:36 -0000 http://perforce.freebsd.org/chv.cgi?CH=141939 Change 141939 by sam@sam_ebb on 2008/05/20 23:19:16 correct comment Affected files ... .. //depot/projects/vap/sys/net80211/ieee80211_proto.c#32 edit Differences ... ==== //depot/projects/vap/sys/net80211/ieee80211_proto.c#32 (text+ko) ==== @@ -1331,12 +1331,14 @@ if (ic->ic_flags & IEEE80211_F_SCAN) { /* - * If scanning just ignore and reset state. It's awkward - * to reset the swbmiss timer on scan start/end so instead - * we do this. If get a bmiss after coming out of scan - * because we haven't had time to receive a beacon then - * we should probe the AP before posting a real bmiss - * (unless iv_bmiss_max has been artifiically lowered). + * If scanning just ignore and reset state. If we get a + * bmiss after coming out of scan because we haven't had + * time to receive a beacon then we should probe the AP + * before posting a real bmiss (unless iv_bmiss_max has + * been artifiically lowered). A cleaner solution might + * be to disable the timer on scan start/end but to handle + * case of multiple sta vap's we'd need to disable the + * timers of all affected vap's. */ vap->iv_swbmiss_count = 0; } else if (vap->iv_swbmiss_count == 0) {