mac80211: trivial: use WLAN_BACK_RECIPIENT instead of hardcoded 0
authorNikolay Martynov <mar.kolya@gmail.com>
Wed, 23 Nov 2011 02:50:29 +0000 (21:50 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Nov 2011 19:43:50 +0000 (14:43 -0500)
  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>
net/mac80211/agg-rx.c

index 476b106..d4f23d4 100644 (file)
@@ -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);