mac80211: fix unbalanced locking in ieee80211_get_buffered_bc

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>
This commit is contained in:
Tomas Winkler 2008-06-02 20:31:56 +03:00 committed by John W. Linville
parent 2b2121417e
commit b97e77e044
1 changed files with 1 additions and 1 deletions

View File

@ -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);