Skip to content

Commit

Permalink
mac80211: fix unbalanced locking in ieee80211_get_buffered_bc
Browse files Browse the repository at this point in the history
This patch fixes unbalanced locking in ieee80211_get_buffered_bc

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Tomas Winkler authored and John W. Linville committed Jun 3, 2008
1 parent 2b21214 commit b97e77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac80211/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2011,7 +2011,7 @@ ieee80211_get_buffered_bc(struct ieee80211_hw *hw,
}

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

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

0 comments on commit b97e77e

Please sign in to comment.