]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r216238:
authorbschmidt <bschmidt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 13 Dec 2010 17:53:41 +0000 (17:53 +0000)
committerbschmidt <bschmidt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 13 Dec 2010 17:53:41 +0000 (17:53 +0000)
commit17ebd0aa9b92d294e018f0db06dc1fc4762b0f26
tree5bbf6e7a35ae923bb69c771c9f89d4ab1ce32f35
parent582048e0c29c0ca082f52ae09d687a66c3611438
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)

git-svn-id: svn://svn.freebsd.org/base/stable/8@216411 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/wpi/if_wpi.c