summaryrefslogtreecommitdiffstats
path: root/net/mac80211/agg-rx.c
diff options
context:
space:
mode:
authorNikolay Martynov <mar.kolya@gmail.com>2011-11-22 21:50:29 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-11-28 14:43:50 -0500
commita7f39f60775c0a5f2b537b20a0c2431b3f791cc8 (patch)
tree77f8685d6680c2fb0dcfbd259c8e0e202c7b0a76 /net/mac80211/agg-rx.c
parent285fa6958c1d56469ec8a0e879ae7487a4e62840 (diff)
downloadop-kernel-dev-a7f39f60775c0a5f2b537b20a0c2431b3f791cc8.zip
op-kernel-dev-a7f39f60775c0a5f2b537b20a0c2431b3f791cc8.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/agg-rx.c b/net/mac80211/agg-rx.c
index 476b106..d4f23d4 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);
OpenPOWER on IntegriCloud