diff options
author | Nikolay Martynov <mar.kolya@gmail.com> | 2011-11-23 03:50:29 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-28 20:43:50 +0100 |
commit | a7f39f60775c0a5f2b537b20a0c2431b3f791cc8 (patch) | |
tree | 77f8685d6680c2fb0dcfbd259c8e0e202c7b0a76 /net/mac80211/agg-rx.c | |
parent | mac80211: timeout tx agg sessions in way similar to rx agg sessions (diff) | |
download | linux-a7f39f60775c0a5f2b537b20a0c2431b3f791cc8.tar.xz linux-a7f39f60775c0a5f2b537b20a0c2431b3f791cc8.zip |
mac80211: trivial: use WLAN_BACK_RECIPIENT instead of hardcoded 0
Use WLAN_BACK_RECIPIENT instead of hardcoded 0 for clarity
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/agg-rx.c')
-rw-r--r-- | net/mac80211/agg-rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/agg-rx.c b/net/mac80211/agg-rx.c index 476b106c0b1c..d4f23d4dc2c9 100644 --- a/net/mac80211/agg-rx.c +++ b/net/mac80211/agg-rx.c @@ -85,7 +85,7 @@ void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, /* check if this is a self generated aggregation halt */ if (initiator == WLAN_BACK_RECIPIENT && tx) ieee80211_send_delba(sta->sdata, sta->sta.addr, - tid, 0, reason); + tid, WLAN_BACK_RECIPIENT, reason); del_timer_sync(&tid_rx->session_timer); del_timer_sync(&tid_rx->reorder_timer); |