From owner-cvs-src@FreeBSD.ORG Mon Nov 26 21:28:19 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93F9B16A41B; Mon, 26 Nov 2007 21:28:19 +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 09FA513C4D5; Mon, 26 Nov 2007 21:28:19 +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 lAQLSIix048542; Mon, 26 Nov 2007 21:28:18 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lAQLSIQn048541; Mon, 26 Nov 2007 21:28:18 GMT (envelope-from sam) Message-Id: <200711262128.lAQLSIQn048541@repoman.freebsd.org> From: Sam Leffler Date: Mon, 26 Nov 2007 21:28:18 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/net80211 ieee80211_scan_sta.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2007 21:28:19 -0000 sam 2007-11-26 21:28:18 UTC FreeBSD src repository Modified files: sys/net80211 ieee80211_scan_sta.c Log: Be more careful handling off-channel frames: if the driver (wrongly) sends frames up the stack after changing the current channel then the lookup by ieee channel number may fail leaving a null ptr in se_chan; if this happens fallback to the channel recorded when the frame is processed (curchan). Since the frame doesn't contribute to scan results for the sta this is acceptable. Reviewed by: thompsa MFC after: 3 days Revision Changes Path 1.8 +4 -3 src/sys/net80211/ieee80211_scan_sta.c