diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-09-29 21:39:34 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-09-30 12:34:09 +0200 |
commit | 0c5b93290b2f3c7a376567c03ae8d385b0e99851 (patch) | |
tree | ae3779c3ddb2187ab5dcfcdac9d89940b2e9554c /net/mac80211/offchannel.c | |
parent | 03bb7f42765ce596604f03d179f3137d7df05bba (diff) |
mac80211: update sta->last_rx on acked tx frames
When clients are idle for too long, hostapd sends nullfunc frames for
probing. When those are acked by the client, the idle time needs to be
updated.
To make this work (and to avoid unnecessary probing), update sta->last_rx
whenever an ACK was received for a tx packet. Only do this if the flag
IEEE80211_HW_REPORTS_TX_ACK_STATUS is set.
Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/offchannel.c')
0 files changed, 0 insertions, 0 deletions