commit | 8bc8aecdc5e26cfda12dbd6867af4aa67836da6a | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Mon Mar 21 20:01:00 2011 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Mar 21 15:19:50 2011 -0400 |
tree | a76e8ea6da9ebafe1f7407f304521ed242fab756 | |
parent | 61e1b0b00c793ad5a32fe2181c9f77115fed5dc4 [diff] |
mac80211: initialize sta->last_rx in sta_info_alloc This field is used to determine the inactivity time. When in AP mode, hostapd uses it for kicking out inactive clients after a while. Without this patch, hostapd immediately deauthenticates a new client if it checks the inactivity time before the client sends its first data frame. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Cc: stable@kernel.org Signed-off-by: John W. Linville <linville@tuxdriver.com>