Commit 1b024165 authored by Jiri Slaby's avatar Jiri Slaby Committed by John W. Linville
Browse files

mac80211: tx, use dev_kfree_skb_any for beacon_get

Use dev_kfree_skb_any(); instead of dev_kfree_skb();, since
ieee80211_beacon_get function might be called from atomic.
(It's in a fail path.)
Signed-off-by: default avatarJiri Slaby <>
Cc: Johannes Berg <>
Cc: Michael Wu <>
Signed-off-by: default avatarJohn W. Linville <>
parent 9c0ab712
......@@ -1931,7 +1931,7 @@ struct sk_buff *ieee80211_beacon_get(struct ieee80211_hw *hw,
"no rate found\n",
skb = NULL;
goto out;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment