From: Nikolay Martynov Date: Wed, 23 Nov 2011 02:50:29 +0000 (-0500) Subject: mac80211: trivial: use WLAN_BACK_RECIPIENT instead of hardcoded 0 X-Git-Tag: firefly_0821_release~3680^2~3834^2~44^2~313 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a7f39f60775c0a5f2b537b20a0c2431b3f791cc8;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: John W. Linville --- 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);