]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5221138f962b4757f7fd58dffc50dec301b45e60
tree192d3adc84985598ad6006df43d246adce002f7e
parent3c1aa3bc0c1bcebffa2c4781b1ec0879835ffd8e
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