From: Felix Fietkau Date: Sun, 29 Sep 2013 19:39:34 +0000 (+0200) Subject: mac80211: update sta->last_rx on acked tx frames X-Git-Tag: v3.12-rc7~20^2~20^2^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c5b93290b2f3c7a376567c03ae8d385b0e99851;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg --- Reading git-diff-tree failed