mac80211: clean up ieee80211_stop_tx_ba_session
authorJohannes Berg <johannes.berg@intel.com>
Thu, 27 May 2010 12:41:07 +0000 (14:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Jun 2010 18:10:45 +0000 (14:10 -0400)
commit6a8579d0e62c0eac428184ce45e86bc46677724a
tree192d3adc84985598ad6006df43d246adce002f7e
parent2b2c009ecf71f4c66ff8420b63dddbc9737e04e3
mac80211: clean up ieee80211_stop_tx_ba_session

There's no sense in letting anything but internal
mac80211 functions set the initiator to anything
but WLAN_BACK_INITIATOR, since WLAN_BACK_RECIPIENT
is only valid when we have received a frame from
the peer, which we react to directly in mac80211.

The debugfs code I recently added got this wrong
as well.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c
include/net/mac80211.h
net/mac80211/agg-tx.c
net/mac80211/debugfs_sta.c
net/mac80211/driver-trace.h