CVSROOT:        /cvs
Module name:    src
Changes by:     s...@cvs.openbsd.org    2017/09/04 03:11:46

Modified files:
        sys/net80211   : ieee80211_input.c 

Log message:
If a beacon is received in RUN state, reset the management timer.

Some wifi drivers send a probe request if the hardware reports "missed beacon"
events. If the AP replies with a probe response it is still servicing us and
there is no need to search for a new AP. However, the management timer was not
reset if a beacon was received while in RUN state. So the interface watchdog
always ended up putting the driver into SCAN state after a missed beacon event,
even if the AP did respond to our probe request. Under some conditions this
bug would cause spurious disconnects.

Problem reported and fix tested by mlarkin@

(Using the management timer in RUN state is a new convention. Before support
for missed beacons was added, this timer was only used during the association
sequence to handle APs which don't respond to our assoc requests and such.)

Reply via email to