Skip to content

Commit

Permalink
mac80211: trivial: use WLAN_BACK_RECIPIENT instead of hardcoded 0
Browse files Browse the repository at this point in the history
  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>
  • Loading branch information
Nikolay Martynov authored and John W. Linville committed Nov 28, 2011
1 parent 285fa69 commit a7f39f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac80211/agg-rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a7f39f6

Please sign in to comment.