mac80211: Simplify locking in ieee80211_sta_tear_down_BA_sessions()
authorIlan peer <ilan.peer@intel.com>
Wed, 6 Sep 2017 14:18:33 +0000 (17:18 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 21 Sep 2017 09:42:01 +0000 (11:42 +0200)
commit1281103770e909e064edbb22a1115a0c14eca081
tree5fae1d834a01bbeae0c17a2f20c58a45eb7b7b9a
parent1272c5d89b597995cb10db87dd4a1adc91d36006
mac80211: Simplify locking in ieee80211_sta_tear_down_BA_sessions()

Simplify the locking in  ieee80211_sta_tear_down_BA_sessions() and
lock sta->ampdu_mlme.mtx over the entire function instead of
locking/unlocking it for each TID etc.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ht.c