]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/ap/drv_callbacks.c
AP: Reset STA timeout_next on driver-based-SME association
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 11 Apr 2012 11:06:50 +0000 (14:06 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 11 Apr 2012 11:06:50 +0000 (14:06 +0300)
commitc72bd6d49b39333b162196a245ba952037291674
treefaf71b6181920b00a3806e755873fb5ef7010cd8
parent31b4961f02f222a5446988cd9f5f7d63acdd0508
AP: Reset STA timeout_next on driver-based-SME association

The next ap_handle_timer action was already cleared when association
is handled with user space -based SME. However, this step was missing
from the driver callback for indicating new association. This could
result in the first ap_handle_timer timeout on the new association
removing the station unexpectedly. Fix this by resetting the timeout_next
in hostapd_notif_assoc().

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
intended-for: hostap-1
src/ap/drv_callbacks.c