summaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-06-02 20:31:56 +0300
committerJohn W. Linville <linville@tuxdriver.com>2008-06-03 15:00:29 -0400
commitb97e77e0446f0702de7fa0f5d2c52acf42d0289f (patch)
treef29971f57c6a4fb6eb2863918d85b82edfce3367 /net/mac80211/tx.c
parent2b2121417eff64125bdb7f322d3b533e06d73dae (diff)
downloadop-kernel-dev-b97e77e0446f0702de7fa0f5d2c52acf42d0289f.zip
op-kernel-dev-b97e77e0446f0702de7fa0f5d2c52acf42d0289f.tar.gz
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>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 332ddcb..4214d03 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -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);
OpenPOWER on IntegriCloud