diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-06-02 13:31:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-03 15:00:29 -0400 |
commit | b97e77e0446f0702de7fa0f5d2c52acf42d0289f (patch) | |
tree | f29971f57c6a4fb6eb2863918d85b82edfce3367 | |
parent | 2b2121417eff64125bdb7f322d3b533e06d73dae (diff) |
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>
-rw-r--r-- | net/mac80211/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 332ddcb1068a..4214d039fbc6 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -2011,7 +2011,7 @@ ieee80211_get_buffered_bc(struct ieee80211_hw *hw, | |||
2011 | } | 2011 | } |
2012 | 2012 | ||
2013 | if (WARN_ON(tx.skb != skb)) | 2013 | if (WARN_ON(tx.skb != skb)) |
2014 | return NULL; | 2014 | res = TX_DROP; |
2015 | 2015 | ||
2016 | if (res == TX_DROP) { | 2016 | if (res == TX_DROP) { |
2017 | I802_DEBUG_INC(local->tx_handlers_drop); | 2017 | I802_DEBUG_INC(local->tx_handlers_drop); |