From owner-cvs-src-old@FreeBSD.ORG Mon Dec 13 17:53:59 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73657106597B for ; Mon, 13 Dec 2010 17:53:59 +0000 (UTC) (envelope-from bschmidt@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 60F908FC13 for ; Mon, 13 Dec 2010 17:53:59 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oBDHrxe4027073 for ; Mon, 13 Dec 2010 17:53:59 GMT (envelope-from bschmidt@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oBDHrxiH027072 for cvs-src-old@freebsd.org; Mon, 13 Dec 2010 17:53:59 GMT (envelope-from bschmidt@repoman.freebsd.org) Message-Id: <201012131753.oBDHrxiH027072@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bschmidt@repoman.freebsd.org using -f From: Bernhard Schmidt Date: Mon, 13 Dec 2010 17:53:41 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/wpi if_wpi.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2010 17:53:59 -0000 bschmidt 2010-12-13 17:53:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/wpi if_wpi.c Log: SVN rev 216411 on 2010-12-13 17:53:41Z by bschmidt MFC r216238: Fix scanning after loosing a connection. The firmware assumes that as long as an association ID is set any scan is supposed to be a background scan. This implies that the firmware will switch back to the associated channel after a certain threshold, though, we are not notified about that. We currently catch this case by a timer which will reset the firmware after a 'scan timeout', though, upper layers are not notified about that and will simply hang until manual intervention. Fix this by resetting the firmware's knowledge about any association on RUN -> ASSOC and !INIT -> SCAN transitions. Approved by: re (kib) Revision Changes Path 1.27.2.8 +19 -2 src/sys/dev/wpi/if_wpi.c