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

Commit b97e77e0 authored by Tomas Winkler's avatar Tomas Winkler Committed by John W. Linville
Browse files

mac80211: fix unbalanced locking in ieee80211_get_buffered_bc



This patch fixes unbalanced locking in ieee80211_get_buffered_bc

Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 2b212141
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2011,7 +2011,7 @@ ieee80211_get_buffered_bc(struct ieee80211_hw *hw,
	}
	}


	if (WARN_ON(tx.skb != skb))
	if (WARN_ON(tx.skb != skb))
		return NULL;
		res = TX_DROP;


	if (res == TX_DROP) {
	if (res == TX_DROP) {
		I802_DEBUG_INC(local->tx_handlers_drop);
		I802_DEBUG_INC(local->tx_handlers_drop);