mirror of https://gitee.com/openkylin/linux.git
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:
parent
2b2121417e
commit
b97e77e044
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue