Date: Mon, 6 Dec 2010 19:05:44 +0000 (UTC) From: Bernhard Schmidt <bschmidt@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/wpi if_wpi.c Message-ID: <201012061906.oB6J63Bv026032@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bschmidt 2010-12-06 19:05:44 UTC
FreeBSD src repository
Modified files:
sys/dev/wpi if_wpi.c
Log:
SVN rev 216238 on 2010-12-06 19:05:44Z by bschmidt
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.
Tested by: Zhihao Yuan <lichray at gmail.com>
MFC after: 1 week
Revision Changes Path
1.36 +19 -2 src/sys/dev/wpi/if_wpi.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012061906.oB6J63Bv026032>
