diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-09-29 18:04:27 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-30 23:57:10 +0400 |
commit | c868cb35d013896ab6a80a554fb88baef06cedcd (patch) | |
tree | 48ed06dcf3c815e61f38f867e517d5a5dcfa6d79 /net/mac80211/status.c | |
parent | 042ec4533720122e6cb93dd9f3b6a75fe2fcff16 (diff) | |
download | linux-c868cb35d013896ab6a80a554fb88baef06cedcd.tar.xz |
mac80211: unify TIM bit handling
Currently, the TIM bit for a given station is set
and cleared all over the place. Since the logic to
set/clear it will become much more complex when we
add uAPSD support, as a first step let's collect
the entire logic in one place. This requires a few
small adjustments to other places.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/status.c')
-rw-r--r-- | net/mac80211/status.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/status.c b/net/mac80211/status.c index d50358c45ab0..8354dcb0e1e3 100644 --- a/net/mac80211/status.c +++ b/net/mac80211/status.c @@ -106,6 +106,7 @@ static void ieee80211_handle_filtered_frame(struct ieee80211_local *local, if (test_sta_flags(sta, WLAN_STA_PS_STA) && skb_queue_len(&sta->tx_filtered) < STA_MAX_TX_BUFFER) { skb_queue_tail(&sta->tx_filtered, skb); + sta_info_recalc_tim(sta); return; } |