diff options
author | bschmidt <bschmidt@FreeBSD.org> | 2010-12-06 19:05:44 +0000 |
---|---|---|
committer | bschmidt <bschmidt@FreeBSD.org> | 2010-12-06 19:05:44 +0000 |
commit | 1620fca5f4940c286bfd68e28578b6e9f6ef2977 (patch) | |
tree | 54af7285d3214012647f0f4244e7816631c9a2f0 /games | |
parent | 80d6042924d0209b35eeab9c93b06b3d8bb44c35 (diff) | |
download | FreeBSD-src-1620fca5f4940c286bfd68e28578b6e9f6ef2977.zip FreeBSD-src-1620fca5f4940c286bfd68e28578b6e9f6ef2977.tar.gz |
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
Diffstat (limited to 'games')
0 files changed, 0 insertions, 0 deletions