Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7f39f60 authored by Nikolay Martynov's avatar Nikolay Martynov Committed by John W. Linville
Browse files

mac80211: trivial: use WLAN_BACK_RECIPIENT instead of hardcoded 0



  Use WLAN_BACK_RECIPIENT instead of hardcoded 0 for clarity

Signed-off-by: default avatarNikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 285fa695
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);